genwebgallery
diff debian/rules @ 12:27f96c3b8224
fixed hyphen-minus-conflict in man page; refactored debian/rules (removed a lot)
author | meillo@marmaro.de |
---|---|
date | Sat, 24 Nov 2007 23:29:16 +0100 |
parents | 626dacb5193e |
children | 3ce5429cd219 |
line diff
1.1 --- a/debian/rules Fri Nov 23 23:04:36 2007 +0100 1.2 +++ b/debian/rules Sat Nov 24 23:29:16 2007 +0100 1.3 @@ -10,46 +10,14 @@ 1.4 #export DH_VERBOSE=1 1.5 1.6 1.7 - 1.8 - 1.9 -CFLAGS = -Wall -g 1.10 - 1.11 -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) 1.12 - CFLAGS += -O0 1.13 -else 1.14 - CFLAGS += -O2 1.15 -endif 1.16 - 1.17 -configure: configure-stamp 1.18 -configure-stamp: 1.19 - dh_testdir 1.20 - # Add here commands to configure the package. 1.21 - 1.22 - touch configure-stamp 1.23 - 1.24 - 1.25 -build: build-stamp 1.26 - 1.27 -build-stamp: configure-stamp 1.28 - dh_testdir 1.29 - 1.30 - # Add here commands to compile the package. 1.31 - $(MAKE) 1.32 - #docbook-to-man debian/genwebgallery.sgml > genwebgallery.1 1.33 - 1.34 - touch $@ 1.35 +build: 1.36 1.37 clean: 1.38 dh_testdir 1.39 dh_testroot 1.40 - rm -f build-stamp configure-stamp 1.41 - 1.42 - # Add here commands to clean up after the build process. 1.43 - -$(MAKE) clean 1.44 - 1.45 dh_clean 1.46 1.47 -install: build 1.48 +install: 1.49 dh_testdir 1.50 dh_testroot 1.51 dh_clean -k 1.52 @@ -60,39 +28,33 @@ 1.53 1.54 1.55 # Build architecture-independent files here. 1.56 -binary-indep: build install 1.57 +binary-indep: install 1.58 dh_testdir 1.59 dh_testroot 1.60 dh_installchangelogs ChangeLog 1.61 dh_installdocs 1.62 - dh_installexamples 1.63 +# dh_installexamples 1.64 # dh_install 1.65 # dh_installmenu 1.66 # dh_installdebconf 1.67 -# dh_installlogrotate 1.68 -# dh_installemacsen 1.69 -# dh_installpam 1.70 # dh_installmime 1.71 -# dh_python 1.72 # dh_installinit 1.73 -# dh_installcron 1.74 -# dh_installinfo 1.75 dh_installman 1.76 - dh_link 1.77 - dh_strip 1.78 +# dh_link 1.79 +# dh_strip 1.80 dh_compress 1.81 dh_fixperms 1.82 # dh_perl 1.83 # dh_makeshlibs 1.84 dh_installdeb 1.85 - dh_shlibdeps 1.86 +# dh_shlibdeps 1.87 dh_gencontrol 1.88 dh_md5sums 1.89 dh_builddeb 1.90 1.91 # Build architecture-dependent files here. 1.92 -binary-arch: build install 1.93 -# We have nothing to do by default. 1.94 +binary-arch: 1.95 1.96 -binary: binary-indep binary-arch 1.97 +binary: binary-indep 1.98 + 1.99 .PHONY: build clean binary-indep binary-arch binary install configure