mirror of git://git.suckless.org/sbase
Replace VERSION in manpages with the actual version
This commit is contained in:
parent
428cd4fe84
commit
36afa1e169
2
Makefile
2
Makefile
|
@ -123,7 +123,7 @@ install: all
|
|||
@cd $(DESTDIR)$(PREFIX)/bin && chmod 755 $(BIN)
|
||||
@echo installing manual pages to $(DESTDIR)$(MANPREFIX)/man1
|
||||
@mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||
@cp -f $(MAN) $(DESTDIR)$(MANPREFIX)/man1
|
||||
@for m in $(MAN); do sed "s/VERSION/$(VERSION)/g" < "$$m" > $(DESTDIR)$(MANPREFIX)/man1/"$$m"; done
|
||||
@cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN)
|
||||
|
||||
uninstall:
|
||||
|
|
Loading…
Reference in New Issue