diff options
author | sin <sin@2f30.org> | 2014-10-08 11:43:58 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-08 11:47:58 +0100 |
commit | 81bf766c09d5fd0d255960825471e0962203d3fe (patch) | |
tree | 72c8646226ffd3dc79202be38df3d1dd753c8cd5 /Makefile | |
parent | 82625645905e93f740f52cd76d33989c75456765 (diff) |
Add manpage
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -44,11 +44,16 @@ install: all @echo installing executable to $(DESTDIR)$(PREFIX)/bin @mkdir -p $(DESTDIR)$(PREFIX)/bin @cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin - @cd $(DESTDIR)$(PREFIX)/bin && chmod 755 $(BIN) + @chmod 755 $(DESTDIR)$(PREFIX)/bin/$(BIN) + @echo installing manual page to $(DESTDIR)$(MANPREFIX)/man1 + @mkdir -p $(DESTDIR)$(MANPREFIX)/man1 + @cp -f ratox.1 $(DESTDIR)$(MANPREFIX)/man1 uninstall: @echo removing executable from $(DESTDIR)$(PREFIX)/bin - @cd $(DESTDIR)$(PREFIX)/bin && rm -f $(BIN) + @rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN) + @echo removing manual page from $(DESTDIR)$(MANPREFIX)/man1 + @rm $(DESTDIR)$(MANPREFIX)/man1/ratox.1 clean: @echo cleaning |