diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2013-08-01 15:16:44 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2013-08-01 15:16:44 +0000 |
commit | b79f540f9dec91ba6cfe082fded2a378d73c83ba (patch) | |
tree | 2f262724201da0fdbc6206e2eb201d46c1f312a4 | |
parent | New patch 160_ignore-shy.patch to ignore ­ (closes: #441934) (diff) | |
download | w3m-b79f540f9dec91ba6cfe082fded2a378d73c83ba.tar.gz w3m-b79f540f9dec91ba6cfe082fded2a378d73c83ba.zip |
Backup and restore entity.h on build time
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index d4fb3ba..f2d23b2 100755 --- a/debian/rules +++ b/debian/rules @@ -31,6 +31,7 @@ build-indep: build-arch: build-stamp build-stamp: dh_testdir + test ! -f entity.h || test -f entity.h.debian-bak || cp entity.h 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 @@ -40,6 +41,7 @@ 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 |