summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 53db794..2bdcd94 100644
--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,15 @@ bin/%: src/%.c
$(CC) $(CFLAGS) -o $@ $<
install: bin/host
- mkdir -p $(prefix)/bin
+ mkdir -p $(prefix)/bin $(prefix)/share/man/man1
cp bin/host $(prefix)/bin/host
+ cp man/man1/host.1 $(prefix)/share/man/man1
chmod 755 $(prefix)/bin/host
+ chmod 755 $(prefix)/share/man/man1/host.1
uninstall:
rm -f $(prefix)/bin/host
+ rm -f $(prefix)/share/man/man1/host.1
clean:
rm -f bin/host