Introduction
Introduction Statistics Contact Development Disclaimer Help
Makefile: make man pages with ubase VERSION - ubase - suckless linux base utils
git clone git://git.suckless.org/ubase
Log
Files
Refs
README
LICENSE
---
commit 363ac4676685a3e562656a0e5f16e6a5a02e0490
parent 544779a7b87dd38c9a1012614e22df987bf64f82
Author: Hiltjo Posthuma <[email protected]>
Date: Mon, 2 Feb 2015 18:46:18 +0100
Makefile: make man pages with ubase VERSION
Diffstat:
M Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -166,9 +166,9 @@ install: all
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
cd $(DESTDIR)$(PREFIX)/bin && chmod 755 $(BIN)
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
- for m in $(MAN1); do sed "s/VERSION/$(VERSION)/g" < "$$m" > $(DESTDIR)…
+ for m in $(MAN1); do sed "s/^\.Os ubase/.Os ubase $(VERSION)/g" < "$$m…
mkdir -p $(DESTDIR)$(MANPREFIX)/man8
- for m in $(MAN8); do sed "s/VERSION/$(VERSION)/g" < "$$m" > $(DESTDIR)…
+ for m in $(MAN8); do sed "s/^\.Os ubase/.Os ubase $(VERSION)/g" < "$$m…
cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN1)
cd $(DESTDIR)$(MANPREFIX)/man8 && chmod 644 $(MAN8)
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.