From 3015cc33b23722e4c68a18a6c06743a34c39712c Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Sat, 10 Feb 2007 17:41:54 +0000 Subject: [PATCH] #9 fixes compabilityproblems with gnu install --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4255680..c6d63a2 100644 --- a/Makefile +++ b/Makefile @@ -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: