[Pkg-fglrx-devel] r708 - fglrx-driver/branches/multiarch/debian
Andreas Beckmann
anbe-guest at alioth.debian.org
Tue Aug 9 13:04:31 UTC 2011
Author: anbe-guest
Date: 2011-08-09 13:04:31 +0000 (Tue, 09 Aug 2011)
New Revision: 708
Modified:
fglrx-driver/branches/multiarch/debian/rules
Log:
simplify/unify sed command
Modified: fglrx-driver/branches/multiarch/debian/rules
===================================================================
--- fglrx-driver/branches/multiarch/debian/rules 2011-08-09 12:54:58 UTC (rev 707)
+++ fglrx-driver/branches/multiarch/debian/rules 2011-08-09 13:04:31 UTC (rev 708)
@@ -22,12 +22,12 @@
generated=$(shell ls debian/*.in | sed s/\.in$$//g)
%: %.in
- sed -e s/_VERSION_/$(upstream_version)/g \
- -e s/_ARCH_/$(arch)/g \
- -e s/_XPIC_/$(xpic)/g \
- -e s/_LIB_/$(lib)/g \
- -e 's/_LIBDIR_/$(subst /,\/,$(libdir))/g' \
- < $< > $@
+ sed -r -e 's%_VERSION_%$(upstream_version)%g' \
+ -e 's%_ARCH_%$(arch)%g' \
+ -e 's%_XPIC_%$(xpic)%g' \
+ -e 's%_LIB_%$(lib)%g' \
+ -e 's%_LIBDIR_%$(libdir)%g' \
+ < $< > $@
%:
dh $@
More information about the Pkg-fglrx-devel
mailing list