[hackers] [sbase] Makefile: stricter regex replace for sbase VERSION || Hiltjo Posthuma
commit 66e1bbccf31147020ecc0fd09f7d9c15ce5a9f7e
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sun Feb 1 16:33:46 2015 +0100
Makefile: stricter regex replace for sbase VERSION
diff --git a/Makefile b/Makefile
index 6066593..d6df4d6 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -168,7 +168,7 @@ install: all
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
cd $(DESTDIR)$(PREFIX)/bin && chmod 755 $(BIN)
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
- for m in $(MAN); do sed "s/.Os sbase/.Os sbase $(VERSION)/g" < "$$m" > $(DESTDIR)$(MANPREFIX)/man1/"$$m"; done
+ for m in $(MAN); do sed "s/^\.Os sbase/.Os sbase $(VERSION)/g" < "$$m" > $(DESTDIR)$(MANPREFIX)/man1/"$$m"; done
cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN)
uninstall:
Received on Tue Mar 24 2015 - 23:53:33 CET
This archive was generated by hypermail 2.3.0
: Wed Mar 25 2015 - 00:06:43 CET