summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/piklab/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/applications/piklab/debian/rules')
-rwxr-xr-xubuntu/precise/applications/piklab/debian/rules9
1 files changed, 4 insertions, 5 deletions
diff --git a/ubuntu/precise/applications/piklab/debian/rules b/ubuntu/precise/applications/piklab/debian/rules
index 6d0a1d510..d15b8b977 100755
--- a/ubuntu/precise/applications/piklab/debian/rules
+++ b/ubuntu/precise/applications/piklab/debian/rules
@@ -26,7 +26,9 @@ else
CFLAGS += -O2
endif
-config: config-stamp
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+config: post-patches config-stamp
config-stamp: configure
dh_testdir
@@ -39,8 +41,6 @@ config-stamp: configure
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
- $(MAKE) -f /usr/share/quilt/quilt.make patch
-
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
@@ -62,7 +62,7 @@ build-stamp: config-stamp
#docbook-to-man debian/piklab.sgml > piklab.1
touch $@
-clean:
+clean::
dh_testdir
dh_testroot
@@ -80,7 +80,6 @@ clean:
rm -f po/*.gmo
rm -f src/common/global/svn_revision/svn_revision.h
rm -f config.sub config.guess config.status config.log
- $(MAKE) -f /usr/share/quilt/quilt.make unpatch
dh_clean
install: build-stamp