Makefile: stricter regex replace for sbase VERSION
This commit is contained in:
parent
949f930280
commit
66e1bbccf3
2
Makefile
2
Makefile
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user