[X2Go-Commits] [pale-moon] 04/06: debian/make.mk: add helper utility from Debian crossstream.

git-admin at x2go.org git-admin at x2go.org
Wed May 30 23:29:09 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 942079973340e59128701baf6ab252461c36f863
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed May 30 21:57:27 2018 +0200

    debian/make.mk: add helper utility from Debian crossstream.
---
 debian/changelog |  2 ++
 debian/make.mk   | 14 ++++++++++++++
 2 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0cb49ac..4038557 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ palemoon (27.9.2~repack-1-0x2go1) UNRELEASED; urgency=medium
     - Move a CFLAGS override section down to the correct place.
   * debian/mozconfig:
     - Remove autoconf flags that should better be handled by debian/rules.
+  * debian/make.mk:
+    - Add helper utility from Debian crossstream.
 
  -- Mihai Moldovan <ionic at ionic.de>  Mon, 28 May 2018 03:44:10 +0200
 
diff --git a/debian/make.mk b/debian/make.mk
new file mode 100644
index 0000000..3fc6a63
--- /dev/null
+++ b/debian/make.mk
@@ -0,0 +1,14 @@
+lazy = $(eval $(1) = $$(if $$(___$(1)),,$$(eval ___$(1) := $(2)))$$(___$(1)))
+letters = a b c d e f g h i j k l m n o p q r s t u v w x y z
+lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$1))))))))))))))))))))))))))
+uc = $(subst a,A,$(subst b,B,$(subst c,C,$(subst d,D,$(subst e,E,$(subst f,F,$(subst g,G,$(subst h,H,$(subst i,I,$(subst j,J,$(subst k,K,$(subst l,L,$(subst m,M,$(subst n,N,$(subst o,O,$(subst p,P,$(subst q,Q,$(subst r,R,$(subst s,S,$(subst t,T,$(subst u,U,$(subst v,V,$(subst w,W,$(subst x,X,$(subst y,Y,$(subst z,Z,$1))))))))))))))))))))))))))
+
+__VARS := $(.VARIABLES)
+
+dump:
+	@$(foreach var,$(sort $(filter-out $(__VARS) __VARS preprocess ___%,$(.VARIABLES))),echo '$(var) = $(subst ','\'',$(subst \,\\,$($(var))))';)
+
+dump-%:
+	@echo $($*)
+
+.PHONY: dump

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