summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rwxr-xr-xrules8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules b/rules
index 908c7b5d..a6bf546a 100755
--- a/rules
+++ b/rules
@@ -40,7 +40,7 @@ build-stamp: configure-stamp
touch build-stamp
-configure: configure-stamp
+configure: patch configure-stamp
configure-stamp:
touch $(BUILD_TREE)/configure
@@ -52,7 +52,9 @@ configure-stamp:
touch configure-stamp
-clean:
+clean: clean-patched unpatch
+
+clean-patched:
dh_testdir
dh_testroot
touch $(BUILD_TREE)/configure
@@ -149,4 +151,4 @@ module_check:
done
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary patch unpatch install configure