chiark / gitweb /
Fix sedfiles.make to cope with changed make syntax. Reported by Colin
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Jul 2007 13:12:13 +0000 (14:12 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Jul 2007 13:12:13 +0000 (14:12 +0100)
Watson and Michael Stevens.

scripts/sedfiles.make

index 0ddc93e..33b9acd 100644 (file)
 
 $(SEDFILES) : % : %.in Makefile
        rm -f $@.new
-       sed 's!sbindir!${sbindir}!g;\
-            s!bindir!${bindir}!g;\
-            s!pkgconfdir!${sysconfdir}/disorder!g;\
-            s!pkgstatedir!${localstatedir}/disorder!g;\
-            s!pkgdatadir!${pkgdatadir}!g;\
-            s!_version_!${VERSION}!g;\
-               < $< > $@.new
+       sed -e 's!sbindir!${sbindir}!g;' \
+           -e 's!bindir!${bindir}!g;' \
+           -e 's!pkgconfdir!${sysconfdir}/disorder!g;' \
+           -e 's!pkgstatedir!${localstatedir}/disorder!g;' \
+           -e 's!pkgdatadir!${pkgdatadir}!g;' \
+           -e 's!_version_!${VERSION}!g;' \
+               < $< > $@.new
        chmod 444 $@.new
        mv -f $@.new $@