aboutsummaryrefslogtreecommitdiffstats
path: root/iceprog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'iceprog/Makefile')
-rw-r--r--iceprog/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/iceprog/Makefile b/iceprog/Makefile
index 286460f..d71a9b7 100644
--- a/iceprog/Makefile
+++ b/iceprog/Makefile
@@ -23,10 +23,13 @@ iceprog$(EXE): iceprog.o
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin
- cp iceprog $(DESTDIR)$(PREFIX)/bin/iceprog
+ cp iceprog$(EXE) $(DESTDIR)$(PREFIX)/bin/iceprog$(EXE)
+ 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)/bin/iceprog$(EXE)
+ rm -f $(DESTDIR)$(PREFIX)/share/man/man1/iceprog.1
clean:
rm -f iceprog