diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2013-12-14 08:34:40 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-12-14 08:38:07 +0000 |
commit | d574b6909e3b4e3087a04ea733e991ad7c1979df (patch) | |
tree | db39f5848ae372384c2cff1826031260b112af2d /debian/rules | |
parent | Update 050_autotools-config.patch with autotools-dev 20130810.1 (diff) | |
download | w3m-d574b6909e3b4e3087a04ea733e991ad7c1979df.tar.gz w3m-d574b6909e3b4e3087a04ea733e991ad7c1979df.zip |
debian/rules: builddir fixes
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index 46aa8cc..a3d4e40 100755 --- a/debian/rules +++ b/debian/rules @@ -32,8 +32,8 @@ build-indep: build-arch: build-stamp build-stamp: dh_testdir - dh_autotools-dev_updateconfig - test ! -f entity.h || test -f entity.h.debian-bak || cp entity.h entity.h.debian-bak + cd $(builddir) && dh_autotools-dev_updateconfig + test ! -f $(builddir)/entity.h || test -f $(builddir)/entity.h.debian-bak || cp $(builddir)/entity.h $(builddir)/entity.h.debian-bak cd $(builddir) && CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure $(confargs) cd $(builddir) && LC_ALL=C $(MAKE) OPTS="-Wall -g -DDEBIAN" cd $(builddir)/po && LC_ALL=C $(MAKE) update-gmo @@ -43,11 +43,11 @@ clean: dh_testdir dh_testroot if test -f $(builddir)/Makefile; then cd $(builddir) && $(MAKE) distclean; fi - test ! -f entity.h.debian-bak || mv -f entity.h.debian-bak entity.h rm -f $(builddir)/po/*.gmo rm -f $(builddir)/po/stamp-po rm -f extract-stamp patch-stamp configure-stamp build-stamp install-stamp - dh_autotools-dev_restoreconfig + test ! -f $(builddir)/entity.h.debian-bak || mv -f $(builddir)/entity.h.debian-bak $(builddir)/entity.h + cd $(builddir) && dh_autotools-dev_restoreconfig dh_clean install: install-stamp |