summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-08-18 20:25:12 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-08-18 20:25:12 +0200
commit4c3fea5028b6156ad44901f6058c98745bd5279f (patch)
treec934b3b3c5214dc685e82e21c35f5409018fb095 /Makefile
parent84beab1ef6f778949023e4f050c9b2329f06f305 (diff)
Added host(1) manpage
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