[Forensics-changes] [SCM] forensics/grokevt branch, debian, updated. upstream/0.4.0-6-gd0333a5

Daniel Baumann daniel at debian.org
Tue Feb 26 06:11:38 UTC 2008


The following commit has been merged in the debian branch:
commit 73fabe3ab3fd14f47a711dd949c55abfe61fd896
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Feb 26 07:11:21 2008 +0100

    Cleaning up rules.

diff --git a/debian/rules b/debian/rules
index 364bbb8..7878869 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,56 +1,54 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
 
 clean:
 	dh_testdir
 	dh_testroot
+	rm -f build-stamp
+
 	$(MAKE) clean
-	dh_clean build-stamp
+
+	dh_clean
 
 build: build-stamp
 build-stamp:
 	dh_testdir
+
 	$(MAKE)
-	touch $@
+
+	touch build-stamp
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_clean -k
 	dh_installdirs
 
 	$(MAKE) \
-	PREFIX=$(CURDIR)/debian/grokevt/usr \
-	ETC_PREFIX=$(CURDIR)/debian/grokevt/etc/grokevt \
-	MAN_PREFIX=$(CURDIR)/debian/grokevt/usr/share/man \
-	install
-	
-	rm -rf $(CURDIR)/debian/grokevt/usr/share/man/
-	mv $(CURDIR)/debian/grokevt/usr/share/doc/grokevt/man/ $(CURDIR)/debian/grokevt/usr/share/
-	
-	find $(CURDIR)/debian/grokevt/usr/share/doc/grokevt/ -name "*docbook*" -delete
-
-binary-arch: build install
+		PREFIX=$(CURDIR)/debian/grokevt/usr \
+		ETC_PREFIX=$(CURDIR)/debian/grokevt/etc/grokevt \
+		MAN_PREFIX=$(CURDIR)/debian/grokevt/usr/share/man \
+		install
+
+	rm -rf debian/grokevt/usr/share/man
+	mv debian/grokevt/usr/share/doc/grokevt/man debian/grokevt/usr/share
+
+	find debian/grokevt/usr/share/doc/grokevt -name "*docbook*" | xargs rm -f
+
+binary: binary-indep
+
+binary-arch:
+
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
+	dh_installchangelogs
 	dh_installdocs
-	dh_installexamples
-	dh_installman
 	dh_pysupport
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: clean build install binary binary-arch binary-indep

-- 
forensics/grokevt



More information about the forensics-changes mailing list