aboutsummaryrefslogtreecommitdiff
path: root/iceprog/Makefile
diff options
context:
space:
mode:
authorRoland Lutz <rlutz@hedmen.org>2017-06-12 20:02:34 +0200
committerRoland Lutz <rlutz@hedmen.org>2017-07-02 14:56:07 +0200
commitb61cfb8a011330b3621734b134ce3b56d7507b2e (patch)
treea11ee3ec3e8d7035b6eea2f76c4e68f90d94afba /iceprog/Makefile
parenteef1731d2b114273f7b4d55475e5b2aa021d6308 (diff)
iceprog: Add manpage
Diffstat (limited to 'iceprog/Makefile')
-rw-r--r--iceprog/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/iceprog/Makefile b/iceprog/Makefile
index 286460f..c61b470 100644
--- a/iceprog/Makefile
+++ b/iceprog/Makefile
@@ -24,9 +24,12 @@ iceprog$(EXE): iceprog.o
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp iceprog $(DESTDIR)$(PREFIX)/bin/iceprog
+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+ install -c -m 644 iceprog.1 $(DESTDIR)$(PREFIX)/share/man/man1
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/iceprog
+ rm -f $(DESTDIR)$(PREFIX)/share/man/man1/iceprog.1
clean:
rm -f iceprog