summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 9a010cb..2def899 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,14 @@
%:
dh ${@}
+execute_after_dh_auto_clean:
+ # remove generated files
+ rm -f src/test/env.sh
+ for file in $$(find . -type f -name "*.in"); \
+ do \
+ rm -f "$$(dirname "$${file}")"/"$$(basename "$${file}" .in)"; \
+ done
+
execute_after_dh_auto_install:
# Removing useless files
rm -f debian/drool/usr/share/doc/drool/LICENSE