summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/potracegui/debian
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications/potracegui/debian')
-rwxr-xr-xubuntu/maverick/applications/potracegui/debian/rules15
1 files changed, 7 insertions, 8 deletions
diff --git a/ubuntu/maverick/applications/potracegui/debian/rules b/ubuntu/maverick/applications/potracegui/debian/rules
index 4b268883c..2f8675d9f 100755
--- a/ubuntu/maverick/applications/potracegui/debian/rules
+++ b/ubuntu/maverick/applications/potracegui/debian/rules
@@ -40,7 +40,13 @@ 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
dh_testdir
@@ -61,16 +67,9 @@ clean:
rm -f build-stamp
[ ! -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
rm -f po/*.gmo
-
dh_clean --exclude ./src/potracegui.cpp.orig
install: build