diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-05-02 16:50:56 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-05-02 16:50:56 +0200 |
commit | fda9e8e81c386422be050865dbb490f44f7e7f97 (patch) | |
tree | b6157a859271cf2ab6cb0b385c6bd30d8514a738 /Makefile | |
parent | 81e09053db4f18f2ac1c0db1679979168de599e0 (diff) | |
download | xtools-fda9e8e81c386422be050865dbb490f44f7e7f97.tar.gz xtools-fda9e8e81c386422be050865dbb490f44f7e7f97.tar.xz xtools-fda9e8e81c386422be050865dbb490f44f7e7f97.zip |
Makefile: install manpage
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 4cc3477..81f7a90 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,10 @@ DESTDIR= all: install: - for f in x*[^~]; do install -Dm0755 $$f $(DESTDIR)$(PREFIX)/bin/$$f; done + for f in x*[!~1]; do install -Dm0755 $$f $(DESTDIR)$(PREFIX)/bin/$$f; done install -Dm644 _xtools $(DESTDIR)/$(PREFIX)/share/zsh/site-functions/_xtools + install -Dm644 xtools.1 $(DESTDIR)/$(PREFIX)/share/man/man1/xtools.1 + for f in x*[!~1]; do ln -sf xtools.1 $(DESTDIR)$(PREFIX)/share/man/man1/$$f.1; done README: xtools.1 mandoc -Tutf8 $< | col -bx >$@ |