summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/knutclient
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-01-15 03:49:37 +0100
committerSlávek Banko <slavek.banko@axis.cz>2015-01-15 03:49:37 +0100
commit47dff09e22d601a9efe65b4e25b06d1d3a1f1926 (patch)
tree5be08ff36ed66d555d9de778d671c4832d1e10d7 /ubuntu/maverick/applications/knutclient
parent463fd82feef90aef17b16b5b028b4e0b6eb32e5e (diff)
downloadtde-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 'ubuntu/maverick/applications/knutclient')
-rwxr-xr-xubuntu/maverick/applications/knutclient/debian/rules45
1 files changed, 18 insertions, 27 deletions
diff --git a/ubuntu/maverick/applications/knutclient/debian/rules b/ubuntu/maverick/applications/knutclient/debian/rules
index 0d07992cf..761c5e63c 100755
--- a/ubuntu/maverick/applications/knutclient/debian/rules
+++ b/ubuntu/maverick/applications/knutclient/debian/rules
@@ -32,15 +32,7 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
-config.status: configure
- dh_testdir
- # Add here commands to configure the package.
- ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/opt/trinity --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-qt-includes=/usr/include/qt3/ --with-qt-libraries=/usr/lib/qt3/ --enable-mt --disable-rpath
-
-
-build: build-stamp
-
-build-stamp: config.status
+config.status:
dh_testdir
! [ -f /usr/share/libtool/ltmain.sh ] || \
@@ -48,10 +40,25 @@ 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
+ # Add here commands to configure the package.
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/opt/trinity --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-qt-includes=/usr/include/qt3/ --with-qt-libraries=/usr/lib/qt3/ --enable-mt --disable-rpath
+
+
+build: build-stamp
+
+build-stamp: config.status
+ dh_testdir
+
# Add here commands to compile the package.
$(MAKE)
#/usr/bin/docbook-to-man debian/knutclient.sgml > knutclient.1
@@ -61,26 +68,10 @@ 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
-
- make -f admin/Makefile.common cvs
- touch debian/stamp-bootstrap
+ rm -f build-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(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
-
dh_clean po/*gmo