mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-24 15:21:27 +00:00
#9 fixes compabilityproblems with gnu install
This commit is contained in:
parent
16379e14b1
commit
3015cc33b2
7
Makefile
7
Makefile
|
@ -1,7 +1,10 @@
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
|
|
||||||
INSTALL=/usr/bin/install
|
INSTALL=/usr/bin/install
|
||||||
INSTALL_FLAGS= -d
|
INSTALL_FLAGS=
|
||||||
|
|
||||||
|
MKDIR=mkdir
|
||||||
|
MKDIR_FLAGS=-p
|
||||||
|
|
||||||
RM=rm
|
RM=rm
|
||||||
RM_FLAGS=-f
|
RM_FLAGS=-f
|
||||||
|
@ -10,8 +13,10 @@ all:
|
||||||
@(cd src; make all)
|
@(cd src; make all)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
|
$(MKDIR) $(MKDIR_FLAGS) $(PREFIX)/sbin
|
||||||
$(INSTALL) $(INSTALL_FLAGS) bin/iodine $(PREFIX)/sbin/iodine
|
$(INSTALL) $(INSTALL_FLAGS) bin/iodine $(PREFIX)/sbin/iodine
|
||||||
$(INSTALL) $(INSTALL_FLAGS) bin/iodined $(PREFIX)/sbin/iodined
|
$(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
|
$(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(PREFIX)/man/man8/iodine.8
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
|
Loading…
Reference in a new issue