[Forensics-changes] [SCM] debian-forensics/tct branch, debian-sid, updated. upstream/1.18-17-gafa05f9
Daniel Baumann
daniel at debian.org
Sat Feb 9 21:41:46 UTC 2008
The following commit has been merged in the debian-sid branch:
commit 008d73418cefeba9ee92c0b36b539552034ad8bb
Author: Daniel Baumann <daniel at debian.org>
Date: Sat Feb 9 22:38:17 2008 +0100
Rewritten rules.
diff --git a/debian/rules b/debian/rules
index f1c065f..8b8a180 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,5 @@
#!/usr/bin/make -f
-# This makes the other DH_OPTIONS lines work
-export DH_OPTIONS
-export DH_VERBOSE
-
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
@@ -11,56 +7,45 @@ else
endif
clean:
- dh_testroot
dh_testdir
- dh_clean
+ dh_testroot
+ rm -f build-stamp
+
$(MAKE) tidy
- chmod 755 debian/rules
+ chmod 0755 debian/rules
-build:
+ dh_clean
+
+build: build-stamp
+build-stamp:
dh_testdir
- $(MAKE) OPT=$(CFLAGS) DEBUG=-g
- touch build-stamp
-binary: binary-indep binary-arch
+ $(MAKE) OPT="$(CFLAGS)" DEBUG="-Wall -g"
-binary-indep: build
- dh_testroot
+ touch build-stamp
+
+install:
-binary-arch: binary-tct binary-timeout
+binary: binary-arch binary-indep
-binary-tct: DH_OPTIONS = -p tct
-binary-tct: build
+binary-arch: build
+ dh_testdir
dh_testroot
- dh_installdirs
- dh_installdocs
dh_installchangelogs CHANGES
- dh_installman
- dh_install
- find debian/tct -name 'icat*' -print0 | \
- xargs -0 rename 's(/icat)(/inode-cat)'
- dh_fixperms
- dh_compress
- dh_strip
- dh_perl usr/share/tct
- dh_shlibdeps
- dh_gencontrol
- dh_installdeb
- dh_md5sums
- dh_builddeb
-
-binary-timeout: DH_OPTIONS = -p timeout
-binary-timeout: build
- dh_installdirs
dh_installdocs
- dh_installchangelogs
- dh_installman
+ dh_installdirs
dh_install
+ dh_installman
dh_strip
dh_compress
dh_fixperms
+ dh_perl /usr/share/tct
+ dh_installdeb
dh_shlibdeps
dh_gencontrol
- dh_installdeb
dh_md5sums
dh_builddeb
+
+binary-indep:
+
+.PHONY: clean build install binary binary-arch binary-indep
--
debian-forensics/tct
More information about the forensics-changes
mailing list