summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kpicosim/debian/rules
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/kpicosim/debian/rules
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/kpicosim/debian/rules')
-rwxr-xr-xubuntu/maverick/applications/kpicosim/debian/rules21
1 files changed, 7 insertions, 14 deletions
diff --git a/ubuntu/maverick/applications/kpicosim/debian/rules b/ubuntu/maverick/applications/kpicosim/debian/rules
index 0a03f424b..41b9123f6 100755
--- a/ubuntu/maverick/applications/kpicosim/debian/rules
+++ b/ubuntu/maverick/applications/kpicosim/debian/rules
@@ -33,7 +33,7 @@ else
CFLAGS += -O2
endif
-config.status: configure
+config.status:
dh_testdir
! [ -f /usr/share/libtool/ltmain.sh ] || \
@@ -41,7 +41,9 @@ config.status: configure
! [ -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
-
+ cp -p /usr/share/misc/config.sub admin/config.sub
+ cp -p /usr/share/misc/config.guess admin/config.guess
+
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
@@ -63,21 +65,12 @@ 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.
- -$(MAKE) distclean
+ [ ! -f Makefile ] || $(MAKE) distclean
- dh_clean
+ dh_clean
rm -f config.log config.guess config.sub
install: build