[X2Go-Commits] [pale-moon] 206/216: debian/rules: allow comments and empty (or including only whitespace) lines.

git-admin at x2go.org git-admin at x2go.org
Sat Feb 16 02:43:36 CET 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pale-moon.

commit 76e018bc00bd3c5979c69f9699e6593dafc3ba94
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Sep 26 04:17:24 2018 +0200

    debian/rules: allow comments and empty (or including only whitespace) lines.
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bc6d305..d6bb19d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -189,6 +189,7 @@ palemoon (27.9.2~repack-1-0x2go1) UNRELEASED; urgency=medium
       still a python script in Palemoon.
     - Add ICU_DATA_FILE with a stub value, preprocessing palemoon.install.in
       fails otherwise.
+    - Allow comments and empty (or including only whitespace) lines.
   * 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 c3ffae1..997a075 100755
--- a/debian/rules
+++ b/debian/rules
@@ -301,7 +301,7 @@ override_dh_installdocs: MPL-1.1 MPL-2.0
 branding_icon = $(or $(wildcard $(BRANDING)/$(1)),$(wildcard build-palemoon/$(BRANDING)/$(1)))
 
 stamps/dh_install:: debian/noinstall
-	awk '{print "debian/tmp/" $$1 }' < debian/noinstall | xargs rm -r
+	awk '!/^\s*(#|$$)/ {print "debian/tmp/" $$1 }' < debian/noinstall | xargs rm -r
 	dh_install --fail-missing
 	
 	# Install icons

--
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