[X2Go-Commits] [pale-moon] 10/38: debian/rules: rework dh_auto_clean.
git-admin at x2go.org
git-admin at x2go.org
Sat Jun 30 06:14:05 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pale-moon.
commit d5845b9287b30713eda4c0b3bcb167256c4a9b24
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Jun 29 08:23:43 2018 +0200
debian/rules: rework dh_auto_clean.
---
debian/changelog | 1 +
debian/rules | 11 ++++++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index eaa53e6..6fe9cc6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,7 @@ palemoon (27.9.2~repack-1-0x2go1) UNRELEASED; urgency=medium
- Add/backport new stamps/configure-check-palemoon target.
- Add dh_auto_build{,-arch} overrides.
- Comment out all (%) rule.
+ - Rework dh_auto_clean.
* debian/mozconfig:
- Remove autoconf flags that should better be handled by debian/rules.
* debian/make.mk:
diff --git a/debian/rules b/debian/rules
index fc25d0b..c4b4708 100755
--- a/debian/rules
+++ b/debian/rules
@@ -126,10 +126,15 @@ override_dh_auto_build override_dh_auto_build-arch: stamps/build-palemoon
# dh $@ --parallel
override_dh_auto_clean::
- rm -f mozconfig
- rm -rf stamps
+ # FIXME: handle MPL (Mozilla Public License) file correctly.
+ rm -f MPL
+ # FIXME: handle potentially generated files, once we have them.
+ rm -f configure js/src/configure
+ rm -rf stamps l10n
debian/rules debian/control TESTDIR=
- dh_auto_clean
+
+ dh_auto_clean --builddirectory=build-palemoon
+ find . -name "*.pyc" -o -name "*.pyo" | xargs --no-run-if-empty rm -f
for dir in $(AUTOCONF_DIRS); do \
for file in config.guess config.sub; do \
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git
More information about the x2go-commits
mailing list