baum
view debian/rules @ 33:2e564bf8599c
new error code 6; more readable printTree; cleanups
author | meillo@marmaro.de |
---|---|
date | Sat, 01 Mar 2008 17:36:59 +0100 |
parents | 3c64b5ac821b |
children | bc693c51970d |
line source
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
8 # This is the debhelper compatibility version to use.
9 #export DH_COMPAT=4
11 CFLAGS = -g
12 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
13 CFLAGS += -O0
14 else
15 CFLAGS += -O2
16 endif
18 build: build-stamp
19 build-stamp:
20 dh_testdir
22 # Add here commands to compile the package.
23 $(MAKE) build
25 touch build-stamp
27 clean:
28 dh_testdir
29 dh_testroot
30 rm -f build-stamp
32 # Add here commands to clean up after the build process.
33 -$(MAKE) clean
35 dh_clean
37 install: build
38 dh_testdir
39 dh_testroot
40 dh_clean -k
41 dh_installdirs
43 # Add here commands to install the package into debian/gentoo.
44 $(MAKE) install DESTDIR=$(CURDIR)/debian/baum
46 # Build architecture-independent files here.
47 binary-indep: build install
48 # We have nothing to do by default.
50 # Build architecture-dependent files here.
51 binary-arch: build install
52 dh_testdir
53 dh_testroot
54 # dh_installdebconf
55 dh_installdocs
56 dh_installexamples examples/*
57 # dh_installmenu
58 # dh_installlogrotate
59 # dh_installemacsen
60 # dh_installpam
61 # dh_installmime
62 # dh_installinit
63 # dh_installcron
64 dh_installman
65 # dh_installinfo
66 # dh_undocumented
67 dh_installchangelogs ChangeLog
68 dh_link
69 dh_strip
70 dh_compress
71 dh_fixperms
72 # dh_makeshlibs
73 dh_installdeb
74 # dh_perl
75 dh_shlibdeps
76 dh_gencontrol
77 dh_md5sums
78 dh_builddeb
80 binary: binary-indep binary-arch
81 .PHONY: build clean binary-indep binary-arch binary install