Codebase list gpart / a845f95
Rewriting rules file from scratch. Daniel Baumann 15 years ago
1 changed file(s) with 16 addition(s) and 50 deletion(s). Raw diff Collapse all Expand all
00 #!/usr/bin/make -f
1 # MAde with the aid of dh_make, by Craig Small
2 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
3 # Some lines taken from debmake, by Cristoph Lameter.
41
52 include /usr/share/dpatch/dpatch.make
6
7 # Uncomment this to turn on verbose mode.
8 export DH_VERBOSE=
9
10 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
11 export OPTIMIZATION_FLAGS:=-O0
12 endif
13
14 build: build-stamp
15 build-stamp: patch-stamp
16 dh_testdir
17
18 # # Add here commands to compile the package.
19
20 $(MAKE) DEBUG=1
21
22 touch build-stamp
233
244 clean: unpatch
255 dh_testdir
266 dh_testroot
27 rm -f build-stamp install-stamp
7 rm -f build-stamp
288
29 # # Add here commands to clean up after the build process.
30 -$(MAKE) clean
9 $(MAKE) clean
3110
3211 dh_clean
3312
34 install: install-stamp
35 install-stamp: build-stamp
13 build: build-stamp
14 build-stamp: patch
15 dh_testdir
16
17 CFLAGS="$(CFLAGS)" $(MAKE) DEBUG=1
18
19 touch build-stamp
20
21 install:
3622 dh_testdir
3723 dh_testroot
3824 dh_clean -k
3925 dh_installdirs
4026
41 # # Add here commands to install the package into debian/tmp.
42 $(MAKE) install-object DESTDIR=`pwd`/debian/tmp
27 $(MAKE) DESTDIR=$(CURDIR)/debian/gpart install
4328
44 touch install-stamp
29 binary: binary-arch
4530
46 # Build architecture-independent files here.
47 binary-indep: build install
48 # We have nothing to do by default.
49
50 # Build architecture-dependent files here.
5131 binary-arch: build install
52 # dh_testversion
5332 dh_testdir
5433 dh_testroot
34 dh_installchangelogs Changes
5535 dh_installdocs
56 # dh_installexamples
57 # dh_installmenu
58 # dh_installemacsen
59 # dh_installinit
60 # dh_installcron
61 dh_installmanpages
62 # dh_undocumented
63 dh_installchangelogs Changes
64 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
6536 dh_strip
66 endif
6737 dh_compress
6838 dh_fixperms
69 # dh_suidregister
7039 dh_installdeb
7140 dh_shlibdeps
7241 dh_gencontrol
73 # dh_makeshlibs
7442 dh_md5sums
7543 dh_builddeb
7644
77 source diff:
78 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
45 binary-indep:
7946
80 binary: binary-indep binary-arch
81 .PHONY: build clean binary-indep binary-arch binary
47 .PHONY: clean build install binary binary-arch binary-indep