This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit cd56aa9b4f380739888b8d1ed7ec508bb4921f5a Author: Mihai Moldovan <ionic@ionic.de> Date: Sun May 9 14:52:02 2021 +0200 debian/rules: preprocess files with an ".in" suffix in the "debian" directory. Mostly adapted from the firefox package. --- debian/changelog | 3 +++ debian/rules | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/debian/changelog b/debian/changelog index a03618b..a30e176 100644 --- a/debian/changelog +++ b/debian/changelog @@ -53,6 +53,9 @@ x2goclient (4.1.2.3-0x2go1) UNRELEASED; urgency=medium from Mike's changes. + Move GPL-3 definition out-of-line. Pulled from Mike's changes. + Update notices. + * debian/rules: + + Preprocess files with an ".in" suffix in the "debian" directory. Mostly + adapted from the firefox package. * debian/: + New file "watch". We won't need this per se (since we're upstream and there cannot be a newer version of the Debian package without releasing diff --git a/debian/rules b/debian/rules index 4b301a0..65a7662 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,20 @@ export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) +# The preprocessing magic is highly inspired by the firefox package. +IN_FILES := $(wildcard debian/*.in) +preprocessed_filename = $(1:.in=) +define preprocess +$(call preprocessed_filename,$(1)): $(1) +PREPROCESSED_FILES += $(call preprocessed_filename,$(1)) +endef +$(foreach f,$(IN_FILES),$(eval $(call preprocess, $(f)))) + +$(PREPROCESSED_FILES): VARS = QT_VERSION + +$(PREPROCESSED_FILES): + debian/preprocess.sh $< $(foreach var,$(VARS),-D$(var)="$($(var))" ) + %: dh $@ --parallel -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git