mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-25 14:36:05 +03:00
install and uninstall in makefile
This commit is contained in:
parent
3dad84f5b9
commit
ac5d65b924
17
Makefile
17
Makefile
@ -1,7 +1,24 @@
|
||||
PREFIX=/usr/local
|
||||
|
||||
INSTALL=/usr/bin/install
|
||||
INSTALL_FLAGS= -S
|
||||
|
||||
RM=rm
|
||||
RM_FLAGS=-f
|
||||
|
||||
all:
|
||||
@(cd src; make all)
|
||||
|
||||
install: all
|
||||
$(INSTALL) $(INSTALL_FLAGS) bin/iodine $(PREFIX)/sbin/iodine
|
||||
$(INSTALL) $(INSTALL_FLAGS) bin/iodined $(PREFIX)/sbin/iodined
|
||||
$(INSTALL) $(INSTALL_FLAGS) man/iodine.8 $(PREFIX)/man/man8/iodine.8
|
||||
|
||||
uninstall:
|
||||
$(RM) $(RM_FLAGS) $(PREFIX)/sbin/iodine
|
||||
$(RM) $(RM_FLAGS) $(PREFIX)/sbin/iodined
|
||||
$(RM) $(RM_FLAGS) $(PREFIX)/man/man8/iodine.8
|
||||
|
||||
test: all
|
||||
@(cd tests; make all)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user