[Forensics-changes] [SCM] debian-forensics/tableau-parm branch, debian-sid, updated. upstream/0.1.0-11-gb003fda

Daniel Baumann daniel at debian.org
Mon Feb 11 22:25:11 UTC 2008


The following commit has been merged in the debian-sid branch:
commit b003fda959cf1a69e6a3c649ff99c9bbb8120c7b
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Feb 11 23:25:04 2008 +0100

    Rewritten rules.

diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..8275f6a
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+build/doc/man/man1/tableau-parm.1.gz
diff --git a/debian/rules b/debian/rules
index 3ac94c5..b5ed1bc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,77 +1,48 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-configure: configure-stamp
-configure-stamp:
+clean:
 	dh_testdir
-	touch configure-stamp
+	dh_testroot
+	rm -f build-stamp
 
+	[ ! -f Makefile ] || $(MAKE) clean
 
-build: build-stamp
+	dh_clean
 
-build-stamp: configure-stamp
+build: build-stamp
+build-stamp:
 	dh_testdir
-	$(MAKE)
-	touch $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	$(MAKE) clean
+	$(MAKE)
 
-	dh_clean
+	touch build-stamp
 
 install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-	cp -a $(CURDIR)/build/bin/tableau-parm $(CURDIR)/debian/tableau-parm/usr/sbin/
 
+	install -D -m 0755 build/bin/tableau-parm debian/tableau-parm/usr/sbin/tableau-parm
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary: binary-arch binary-indep
 
-# Build architecture-dependent files here.
 binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs
 	dh_installdocs
-	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_python
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman $(CURDIR)/build/doc/man/man1/tableau-parm.1.gz
-	dh_link
+	dh_install
+	dh_installman
 	dh_strip
 	dh_compress
 	dh_fixperms
-#	dh_perl
-#	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+binary-indep:
+
+.PHONY: clean build install binary binary-arch binary-indep

-- 
debian-forensics/tableau-parm



More information about the forensics-changes mailing list