[Pkg-fglrx-devel] r980 - fglrx-driver/trunk/debian
Andreas Beckmann
anbe-guest at alioth.debian.org
Tue Jul 10 10:25:22 UTC 2012
Author: anbe-guest
Date: 2012-07-10 10:25:21 +0000 (Tue, 10 Jul 2012)
New Revision: 980
Modified:
fglrx-driver/trunk/debian/rules
Log:
more generic renaming
Modified: fglrx-driver/trunk/debian/rules
===================================================================
--- fglrx-driver/trunk/debian/rules 2012-07-10 09:15:58 UTC (rev 979)
+++ fglrx-driver/trunk/debian/rules 2012-07-10 10:25:21 UTC (rev 980)
@@ -91,11 +91,11 @@
# Renaming control files for packaging driver variants
define rename-template
-$1$$(variant)%: $1%
+$2%: $1%
cp -a $$< $$@
endef
ifneq (,$(variant))
-$(foreach p,$(CONTROL_PREFIXES),$(eval $(call rename-template,$p)))
+$(foreach p,$(CONTROL_PREFIXES),$(eval $(call rename-template,$p,$(if $(filter %fglrx,$p),$(patsubst %fglrx,%$$(fglrx),$p),$p$$(variant)))))
endif
.PHONY: autogen prepare
More information about the Pkg-fglrx-devel
mailing list