r11687 - packages/trunk/freealut/debian
Peter Pentchev
roam-guest at alioth.debian.org
Sun Jan 23 04:00:46 UTC 2011
Author: roam-guest
Date: 2011-01-23 04:00:25 +0000 (Sun, 23 Jan 2011)
New Revision: 11687
Added:
packages/trunk/freealut/debian/libalut-dev.manpages
Removed:
packages/trunk/freealut/debian/docs
Modified:
packages/trunk/freealut/debian/changelog
packages/trunk/freealut/debian/rules
Log:
Shorten the rules file using the dh(1) utility.
Modified: packages/trunk/freealut/debian/changelog
===================================================================
--- packages/trunk/freealut/debian/changelog 2011-01-23 03:44:33 UTC (rev 11686)
+++ packages/trunk/freealut/debian/changelog 2011-01-23 04:00:25 UTC (rev 11687)
@@ -9,8 +9,8 @@
- add misc:Depends to the binary packages
- no need to depend on a x.x.x-1 revision
* Add DEP 3 headers to all the patches.
- * Do not ignore errors from "make clean".
- * Bump the debhelper compatibility version to 7 and use dh_prep.
+ * Bump the debhelper compatibility version to 7 and shorten the rules
+ file using the dh(1) utility.
-- Peter Pentchev <roam at ringlet.net> Sat, 22 Jan 2011 15:24:20 +0200
Deleted: packages/trunk/freealut/debian/docs
===================================================================
--- packages/trunk/freealut/debian/docs 2011-01-23 03:44:33 UTC (rev 11686)
+++ packages/trunk/freealut/debian/docs 2011-01-23 04:00:25 UTC (rev 11687)
@@ -1,3 +0,0 @@
-AUTHORS
-NEWS
-README
Added: packages/trunk/freealut/debian/libalut-dev.manpages
===================================================================
--- packages/trunk/freealut/debian/libalut-dev.manpages (rev 0)
+++ packages/trunk/freealut/debian/libalut-dev.manpages 2011-01-23 04:00:25 UTC (rev 11687)
@@ -0,0 +1 @@
+debian/freealut-config.1
Modified: packages/trunk/freealut/debian/rules
===================================================================
--- packages/trunk/freealut/debian/rules 2011-01-23 03:44:33 UTC (rev 11686)
+++ packages/trunk/freealut/debian/rules 2011-01-23 04:00:25 UTC (rev 11687)
@@ -26,63 +26,31 @@
major=`ls src/.libs/lib*.so.* | \
awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
-config.status: configure
- dh_testdir
- # Add here commands to configure the package.
- CFLAGS="$(CFLAGS) -fPIC -Wl,-z,defs" ./configure \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info
-
build: build-stamp
-build-stamp: config.status
+build-stamp:
dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
-
+ dh build --before auto_configure
+ dh_auto_configure -- CFLAGS="$(CFLAGS) -fPIC -Wl,-z,defs"
+ dh build --remaining
touch build-stamp
clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
+ dh $@
install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+ dh $@ --before installdocs
+ dh_installdocs -A AUTHORS NEWS README
+ dh $@ --remaining
-
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs -A AUTHORS NEWS README
- dh_installexamples
- dh_install
- dh_installman -plibalut-dev debian/freealut-config.1
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
+ dh $@ --before makeshlibs
dh_makeshlibs -V 'libalut0 (>= 1.1.0-1)'
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+ dh $@ --remaining
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-games-commits
mailing list