[Glibc-bsd-commits] r1973 - trunk/freebsd-sendpr/debian
guillem at alioth.debian.org
guillem at alioth.debian.org
Tue Jul 17 03:59:20 UTC 2007
Author: guillem
Date: 2007-07-17 03:59:20 +0000 (Tue, 17 Jul 2007)
New Revision: 1973
Modified:
trunk/freebsd-sendpr/debian/changelog
trunk/freebsd-sendpr/debian/rules
Log:
Clean up of debian/rules:
- Add build-arch and build-indep.
- Remove commented out debhelper commands and useless ones.
- Do not use a build stamp.
- Change binary-indep depend only on install, binary-arch on nothing
and install on build-arch.
- Remove unused DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE.
- Remove inexistent control target from PHONY targets.
Modified: trunk/freebsd-sendpr/debian/changelog
===================================================================
--- trunk/freebsd-sendpr/debian/changelog 2007-07-17 03:48:39 UTC (rev 1972)
+++ trunk/freebsd-sendpr/debian/changelog 2007-07-17 03:59:20 UTC (rev 1973)
@@ -2,6 +2,14 @@
* Switch to debhelper compat level 5.
* Now using Standards-Version 3.7.2 (no changes needed).
+ * Clean up of debian/rules:
+ - Add build-arch and build-indep.
+ - Remove commented out debhelper commands and useless ones.
+ - Do not use a build stamp.
+ - Change binary-indep depend only on install, binary-arch on nothing
+ and install on build-arch.
+ - Remove unused DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE.
+ - Remove inexistent control target from PHONY targets.
-- Guillem Jover <guillem at debian.org> Tue, 17 Jul 2007 06:42:52 +0300
Modified: trunk/freebsd-sendpr/debian/rules
===================================================================
--- trunk/freebsd-sendpr/debian/rules 2007-07-17 03:48:39 UTC (rev 1972)
+++ trunk/freebsd-sendpr/debian/rules 2007-07-17 03:59:20 UTC (rev 1973)
@@ -5,39 +5,37 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
PMAKE := freebsd-make DESTDIR=$(CURDIR)/debian/freebsd-sendpr BINDIR=/usr/bin
clean:
dh_testdir
dh_testroot
+
rm -rf src
rm -f *-stamp
+
dh_clean
unpack: unpack-stamp
unpack-stamp:
dh_testdir
+
tar xfz $(CURDIR)/src.tar.gz
cat $(CURDIR)/debian/patches/* | patch -p0
+
touch unpack-stamp
-
-build: build-stamp
-build-stamp: unpack
+build-indep: unpack
dh_testdir
-
+
cd src/gnu/usr.bin/send-pr/ && \
$(PMAKE)
-
- touch build-stamp
+build-arch:
-install: build
+build: build-indep build-arch
+
+install: build-indep
dh_testdir
dh_testroot
dh_clean -k
@@ -49,39 +47,27 @@
[ -L $$i ] || gunzip $$i ; \
done
-
-# Build architecture-independent files here.
-binary-indep: build install
+binary-indep: install
dh_testdir
dh_testroot
- dh_installdebconf
dh_installdocs
dh_installexamples
- dh_installmenu
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
dh_installman
dh_installinfo
- dh_installchangelogs
+ dh_installchangelogs
dh_link
- dh_strip
dh_compress
dh_fixperms
- dh_makeshlibs
dh_installdeb
-# dh_perl
- dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
+binary-arch:
+# Nothing to do.
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install control
+
+.PHONY: build build-indep build-arch
+.PHONY: clean binary-indep binary-arch binary install
+
More information about the Glibc-bsd-commits
mailing list