diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-01-15 03:49:37 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-01-15 03:49:37 +0100 |
commit | 47dff09e22d601a9efe65b4e25b06d1d3a1f1926 (patch) | |
tree | 5be08ff36ed66d555d9de778d671c4832d1e10d7 /debian/squeeze/applications/ksplash-engine-moodin | |
parent | 463fd82feef90aef17b16b5b028b4e0b6eb32e5e (diff) | |
download | tde-packaging-47dff09e22d601a9efe65b4e25b06d1d3a1f1926.tar.gz tde-packaging-47dff09e22d601a9efe65b4e25b06d1d3a1f1926.zip |
Fix regeneration of automake build system on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian/squeeze/applications/ksplash-engine-moodin')
-rwxr-xr-x | debian/squeeze/applications/ksplash-engine-moodin/debian/rules | 67 |
1 files changed, 17 insertions, 50 deletions
diff --git a/debian/squeeze/applications/ksplash-engine-moodin/debian/rules b/debian/squeeze/applications/ksplash-engine-moodin/debian/rules index c41d87b76..4542a777a 100755 --- a/debian/squeeze/applications/ksplash-engine-moodin/debian/rules +++ b/debian/squeeze/applications/ksplash-engine-moodin/debian/rules @@ -36,27 +36,7 @@ endif debian/debiandirs: admin/debianrules perl -w admin/debianrules echodirs > debian/debiandirs -patch-stamp: - # Apply Debian specific patches - if test ! -f patch-stamp; then \ - for patch in $(CURDIR)/debian/patches/*.diff ;\ - do \ - echo APPLYING PATCH\: $${patch##*/};\ - patch -p1 < $$patch ;\ - done ;\ - touch patch-stamp ;\ - fi - -patch: patch-stamp - -config.status: configure patch - dh_testdir - - CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde - -build: build-stamp - -build-stamp: config.status +config.status: dh_testdir ! [ -f /usr/share/libtool/ltmain.sh ] || \ @@ -64,9 +44,22 @@ build-stamp: config.status ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub admin/config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess admin/config.guess +endif make -f admin/Makefile.common cvs touch debian/stamp-bootstrap + + CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) $(configkde) --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde + +build: build-stamp + +build-stamp: config.status + dh_testdir $(MAKE) @@ -75,37 +68,11 @@ build-stamp: config.status clean: dh_testdir dh_testroot - rm -f build-stamp - - ! [ -f /usr/share/libtool/ltmain.sh ] || \ - cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh - ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ - cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh - cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + rm -f build-stamp - make -f admin/Makefile.common cvs - touch debian/stamp-bootstrap - - -$(MAKE) distclean - -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif + [ ! -f Makefile ] || $(MAKE) distclean - # Remove Debian specific patches - if test -f patch-stamp; then \ - for patch in $(CURDIR)/debian/patches/*.diff ;\ - do \ - echo REMOVING PATCH\: $${patch##*/};\ - patch -p1 -R < $$patch ;\ - done ;\ - rm -f patch-stamp ;\ - fi - - dh_clean + dh_clean install: build dh_testdir |