Mercurial > hg > audiodb
annotate debian/rules @ 277:abfb26e08d9c audiodb-debian
Merge trunk changes -r326:386 into audiodb-debian branch.
Plus new debian/changelog version. (Should have used an epoch really,
but couldn't be bothered; TODO: work out a sane version numbering
policy).
author | mas01cr |
---|---|
date | Tue, 01 Jul 2008 09:12:40 +0000 |
parents | 5bac833c41b5 |
children |
rev | line source |
---|---|
mas01cr@6 | 1 #!/usr/bin/make -f |
mas01cr@6 | 2 # -*- makefile -*- |
mas01cr@6 | 3 # Sample debian/rules that uses debhelper. |
mas01cr@6 | 4 # This file was originally written by Joey Hess and Craig Small. |
mas01cr@6 | 5 # As a special exception, when this file is copied by dh-make into a |
mas01cr@6 | 6 # dh-make output file, you may use that output file without restriction. |
mas01cr@6 | 7 # This special exception was added by Craig Small in version 0.37 of dh-make. |
mas01cr@6 | 8 |
mas01cr@6 | 9 # Uncomment this to turn on verbose mode. |
mas01cr@6 | 10 #export DH_VERBOSE=1 |
mas01cr@6 | 11 |
mas01cr@6 | 12 |
mas01cr@6 | 13 |
mas01cr@6 | 14 |
mas01cr@6 | 15 CFLAGS = -Wall -g |
mas01cr@6 | 16 |
mas01cr@6 | 17 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
mas01cr@6 | 18 CFLAGS += -O0 |
mas01cr@6 | 19 else |
mas01cr@6 | 20 CFLAGS += -O2 |
mas01cr@6 | 21 endif |
mas01cr@6 | 22 |
mas01cr@6 | 23 configure: configure-stamp |
mas01cr@6 | 24 configure-stamp: |
mas01cr@6 | 25 dh_testdir |
mas01cr@6 | 26 # Add here commands to configure the package. |
mas01cr@6 | 27 |
mas01cr@6 | 28 touch configure-stamp |
mas01cr@6 | 29 |
mas01cr@6 | 30 |
mas01cr@6 | 31 build: build-stamp |
mas01cr@6 | 32 |
mas01cr@6 | 33 build-stamp: configure-stamp |
mas01cr@6 | 34 dh_testdir |
mas01cr@6 | 35 |
mas01cr@6 | 36 # Add here commands to compile the package. |
mas01cr@6 | 37 $(MAKE) EXECUTABLE=audiodb |
mas01cr@6 | 38 $(MAKE) EXECUTABLE=audiodb audiodb.1 |
mas01cr@136 | 39 $(MAKE) EXECUTABLE=audiodb HELP.txt |
mas01cr@6 | 40 |
mas01cr@6 | 41 touch build-stamp |
mas01cr@6 | 42 |
mas01cr@6 | 43 clean: |
mas01cr@6 | 44 dh_testdir |
mas01cr@6 | 45 dh_testroot |
mas01cr@6 | 46 rm -f build-stamp configure-stamp |
mas01cr@6 | 47 |
mas01cr@6 | 48 # Add here commands to clean up after the build process. |
mas01cr@6 | 49 -$(MAKE) EXECUTABLE=audiodb clean |
mas01cr@6 | 50 |
mas01cr@6 | 51 dh_clean |
mas01cr@6 | 52 |
mas01cr@6 | 53 install: build |
mas01cr@6 | 54 dh_testdir |
mas01cr@6 | 55 dh_testroot |
mas01cr@6 | 56 dh_clean -k |
mas01cr@6 | 57 dh_installdirs |
mas01cr@6 | 58 |
mas01cr@6 | 59 # Add here commands to install the package into debian/audiodb. |
mas01cr@6 | 60 install -D -m 755 audiodb $(CURDIR)/debian/audiodb/usr/bin/audiodb |
mas01cr@6 | 61 |
mas01cr@6 | 62 # Build architecture-independent files here. |
mas01cr@6 | 63 binary-indep: build install |
mas01cr@6 | 64 # We have nothing to do by default. |
mas01cr@6 | 65 |
mas01cr@6 | 66 # Build architecture-dependent files here. |
mas01cr@6 | 67 binary-arch: build install |
mas01cr@6 | 68 dh_testdir |
mas01cr@6 | 69 dh_testroot |
mas01cr@6 | 70 dh_installchangelogs |
mas01cr@6 | 71 dh_installdocs |
mas01cr@6 | 72 dh_installexamples |
mas01cr@6 | 73 # dh_install |
mas01cr@6 | 74 # dh_installmenu |
mas01cr@6 | 75 # dh_installdebconf |
mas01cr@6 | 76 # dh_installlogrotate |
mas01cr@6 | 77 # dh_installemacsen |
mas01cr@6 | 78 # dh_installpam |
mas01cr@6 | 79 # dh_installmime |
mas01cr@24 | 80 dh_installinit |
mas01cr@6 | 81 # dh_installcron |
mas01cr@6 | 82 # dh_installinfo |
mas01cr@6 | 83 dh_installman audiodb.1 |
mas01cr@6 | 84 dh_link |
mas01cr@6 | 85 dh_strip |
mas01cr@6 | 86 dh_compress |
mas01cr@6 | 87 dh_fixperms |
mas01cr@6 | 88 # dh_perl |
mas01cr@6 | 89 # dh_python |
mas01cr@6 | 90 # dh_makeshlibs |
mas01cr@6 | 91 dh_installdeb |
mas01cr@6 | 92 dh_shlibdeps |
mas01cr@6 | 93 dh_gencontrol |
mas01cr@6 | 94 dh_md5sums |
mas01cr@6 | 95 dh_builddeb |
mas01cr@6 | 96 |
mas01cr@6 | 97 binary: binary-indep binary-arch |
mas01cr@6 | 98 .PHONY: build clean binary-indep binary-arch binary install configure |