diff options
author | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:24:02 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@vega.ocn.ne.jp> | 2011-05-04 07:24:02 +0000 |
commit | d6d37ee0c991ead2b1613c0af242d2e603313d87 (patch) | |
tree | f54ef4313b0db75941e44bf480c5b9edfa16e208 /debian/rules | |
parent | Releasing debian version 0.5.1-5.1 (diff) | |
download | w3m-d6d37ee0c991ead2b1613c0af242d2e603313d87.tar.gz w3m-d6d37ee0c991ead2b1613c0af242d2e603313d87.zip |
Releasing debian version 0.5.2-1debian/0.5.2-1
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/debian/rules b/debian/rules index 179c5c7..72c0a5d 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,9 @@ #!/usr/bin/make -f -# Made with the aid of dh_make, by Craig Small -# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. -# Some lines taken from debmake, by Cristoph Lameter. -# Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/quilt/quilt.make + ifeq ($(DEB_BUILD_GNU_SYSTEM),linux-gnu) DEVS=x11,fb+s else @@ -24,9 +22,8 @@ confargs := --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ builddir := . build: build-stamp -build-stamp: +build-stamp: debian/stamp-patched dh_testdir - # Add here commands to compile the package. -cp /usr/share/misc/config.guess . -cp /usr/share/misc/config.sub . cd $(builddir) && ./configure $(confargs) @@ -34,12 +31,11 @@ build-stamp: cd $(builddir)/po && LC_ALL=C $(MAKE) update-gmo touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot - -test -f $(builddir)/Makefile && cd $(builddir) && $(MAKE) distclean - -rm -f $(builddir)/po/*.gmo - -rm -f + if test -f $(builddir)/Makefile; then cd $(builddir) && $(MAKE) distclean; fi + rm -f $(builddir)/po/*.gmo rm -f extract-stamp patch-stamp configure-stamp build-stamp install-stamp dh_clean @@ -65,13 +61,10 @@ install-stamp: build-stamp dh_movefiles --sourcedir=debian/w3m touch install-stamp -# Build architecture-independent files here. binary-indep: build-stamp install-stamp # We have nothing to do by default. -# Build architecture-dependent files here. binary-arch: build-stamp install-stamp -# dh_testversion dh_testdir -a dh_testroot -a dh_installdocs -a @@ -85,7 +78,6 @@ binary-arch: build-stamp install-stamp dh_installmenu dh_installmime dh_installemacsen -# dh_installinit dh_installcron dh_installman $(builddir)/doc/w3m.1 dh_installman debian/w3mman.1 @@ -95,8 +87,6 @@ binary-arch: build-stamp install-stamp dh_strip -a dh_compress -a dh_fixperms -a - chgrp video debian/w3m-img/usr/lib/w3m/w3mimgdisplay - chmod g+s debian/w3m-img/usr/lib/w3m/w3mimgdisplay dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a |