#9 fixes compabilityproblems with gnu install

This commit is contained in:
Bjorn Andersson 2007-02-10 17:41:54 +00:00
parent 16379e14b1
commit 3015cc33b2
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,10 @@
PREFIX=/usr/local
INSTALL=/usr/bin/install
INSTALL_FLAGS= -d
INSTALL_FLAGS=
MKDIR=mkdir
MKDIR_FLAGS=-p
RM=rm
RM_FLAGS=-f
@ -10,8 +13,10 @@ all:
@(cd src; make all)
install: all
$(MKDIR) $(MKDIR_FLAGS) $(PREFIX)/sbin
$(INSTALL) $(INSTALL_FLAGS) bin/iodine $(PREFIX)/sbin/iodine
$(INSTALL) $(INSTALL_FLAGS) bin/iodined $(PREFIX)/sbin/iodined
$(MKDIR) $(MKDIR_FLAGS) $(PREFIX)/man/man8
$(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(PREFIX)/man/man8/iodine.8
uninstall: