debian/rules
changeset 84 42d1df86ad05
parent 44 3d3135992e11
child 87 6dbfe3db5237
equal deleted inserted replaced
83:3c641ac6493d 84:42d1df86ad05
     2 # Sample debian/rules that uses debhelper.
     2 # Sample debian/rules that uses debhelper.
     3 # GNU copyright 1997 to 1999 by Joey Hess.
     3 # GNU copyright 1997 to 1999 by Joey Hess.
     4 
     4 
     5 # Uncomment this to turn on verbose mode.
     5 # Uncomment this to turn on verbose mode.
     6 #export DH_VERBOSE=1
     6 #export DH_VERBOSE=1
       
     7 export PERL5LIB=
     7 
     8 
     8 %:	
     9 %:	
     9 	dh $@
    10 	dh $@
    10 
    11 
    11 override_dh_auto_build:
    12 override_dh_auto_build:
    15 	$(MAKE) prefix=/usr DESTDIR=debian/logbuch install
    16 	$(MAKE) prefix=/usr DESTDIR=debian/logbuch install
    16 
    17 
    17 override_dh_installman:
    18 override_dh_installman:
    18 	dh_installmanpages
    19 	dh_installmanpages
    19 
    20 
    20 #-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
       
    21 #-	CFLAGS += -g
       
    22 #-endif
       
    23 #-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
       
    24 #-	INSTALL_PROGRAM += -s
       
    25 #-endif
       
    26 #-
       
    27 #-configure: configure-stamp
       
    28 #-configure-stamp:
       
    29 #-	dh_testdir
       
    30 #-	# Add here commands to configure the package.
       
    31 #-
       
    32 #-	touch configure-stamp
       
    33 #-
       
    34 #-
       
    35 #-build: build-stamp
       
    36 #-
       
    37 #-build-stamp: configure-stamp 
       
    38 #-	dh_testdir
       
    39 #-
       
    40 #-	# Add here commands to compile the package.
       
    41 #-	$(MAKE) prefix=/usr
       
    42 #-	#/usr/bin/docbook-to-man debian/logbuch.sgml > logbuch.1
       
    43 #-
       
    44 #-	touch build-stamp
       
    45 #-
       
    46 #-clean:
       
    47 #-	dh_testdir
       
    48 #-	dh_testroot
       
    49 #-	rm -f build-stamp configure-stamp
       
    50 #-
       
    51 #-	# Add here commands to clean up after the build process.
       
    52 #-	-$(MAKE) clean
       
    53 #-
       
    54 #-	dh_clean
       
    55 #-
       
    56 #-install: build
       
    57 #-	dh_testdir
       
    58 #-	dh_testroot
       
    59 #-	dh_clean -k
       
    60 #-	dh_installdirs
       
    61 #-
       
    62 #-	# Add here commands to install the package into debian/logbuch.
       
    63 #-	$(MAKE) install DESTDIR=debian/logbuch prefix=/usr
       
    64 #-
       
    65 #-
       
    66 #-# Build architecture-independent files here.
       
    67 #-binary-indep: build install
       
    68 #-# We have nothing to do by default.
       
    69 #-
       
    70 #-# Build architecture-dependent files here.
       
    71 #-binary-arch: build install
       
    72 #-	dh_testdir
       
    73 #-	dh_testroot
       
    74 #-#	dh_installdebconf	
       
    75 #-	dh_installdocs
       
    76 #-#	dh_installexamples
       
    77 #-#	dh_installmenu
       
    78 #-#	dh_installlogrotate
       
    79 #-#	dh_installemacsen
       
    80 #-#	dh_installpam
       
    81 #-#	dh_installmime
       
    82 #-#	dh_installinit
       
    83 #-#	dh_installcron
       
    84 #-#	dh_installman
       
    85 #-#	dh_installinfo
       
    86 #-#	dh_undocumented
       
    87 #-	dh_installchangelogs 
       
    88 #-#	dh_link
       
    89 #-#	dh_strip
       
    90 #-#	dh_compress
       
    91 #-#	dh_fixperms
       
    92 #-#	dh_makeshlibs
       
    93 #-	dh_installdeb
       
    94 #-	dh_perl
       
    95 #-#	dh_shlibdeps
       
    96 #-	dh_gencontrol
       
    97 #-	dh_md5sums
       
    98 #-	dh_builddeb
       
    99 #-
       
   100 #-binary: binary-indep binary-arch
       
   101 #-.PHONY: build clean binary-indep binary-arch binary install configure