Commit 36766333 authored by Mike Gabriel's avatar Mike Gabriel

debian/rules: Make package build idempotent.

parent 9a5df6db
......@@ -40,6 +40,20 @@ override_dh_auto_clean:
mv libs/sysplugins/smarty_internal_templateparser.php.orig libs/sysplugins/smarty_internal_templateparser.php; \
fi
rm -f lexer/smarty_internal_configfilelexer.php
rm -f lexer/smarty_internal_configfileparser.out
rm -f lexer/smarty_internal_configfileparser.php
rm -f lexer/smarty_internal_templatelexer.php
rm -f lexer/smarty_internal_templateparser.out
rm -f lexer/smarty_internal_templateparser.php
override_dh_install:
dh_install
rm -f debian/smarty3/usr/share/php/smarty3/sysplugins/*.php.bak
rm -f debian/smarty3/usr/share/php/smarty3/sysplugins/*.php.bak
rm -f debian/smarty3/usr/share/php/smarty3/sysplugins/*.php.orig
rm -f debian/smarty3/usr/share/php/smarty3/sysplugins/*.php.orig
override_dh_installchangelogs:
dh_installchangelogs change_log.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment