diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2003-10-25 11:20:41 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2003-10-25 11:20:41 +0000 |
commit | 5abdb4472e098ce14afe16cebcef63b917633e58 (patch) | |
tree | 120f02a172193b3efd98911de8c55580ca9d360d | |
parent | f6b08f00679dd3afe72479e0079030606d6f7598 (diff) |
install the mandir
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -6,6 +6,7 @@ KERNEL_DIR=include/linux endif ARPTABLES_VERSION:=0.0.3 OLD_ARPTABLES_VERSION:=0.0.2 +MANDIR?=/usr/local/man PREFIX:=/usr/local LIBDIR:=$(PREFIX)/lib @@ -47,12 +48,16 @@ $(DESTDIR)$(BINDIR)/arptables: arptables @[ -d $(DESTDIR)$(BINDIR) ] || mkdir -p $(DESTDIR)$(BINDIR) cp $< $@ +$(MANDIR)/man8/arptables.8: arptables.8 + mkdir -p $(@D) + install -m 0644 -o root -g root $< $@ + .PHONY: exec exec: arptables install -m 0755 -o root -g root $< $(BINFILE) .PHONY: install -install: exec +install: $(MANDIR)/man8/arptables.8 exec .PHONY: clean clean: |