mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-28 07:23:07 +01:00
Minor: add INSTALL var in Makefile
This commit is contained in:
parent
f2e4ad4482
commit
8d781e349c
10
Makefile
10
Makefile
@ -14,6 +14,8 @@ LIBS := magic crypto
|
|||||||
CFLAGS += $(O) -MD -Wall -Wextra -Wno-unused-parameter
|
CFLAGS += $(O) -MD -Wall -Wextra -Wno-unused-parameter
|
||||||
LDFLAGS += $(addprefix -l,$(LIBS))
|
LDFLAGS += $(addprefix -l,$(LIBS))
|
||||||
|
|
||||||
|
INSTALL := install
|
||||||
|
|
||||||
all: ctpv
|
all: ctpv
|
||||||
|
|
||||||
options:
|
options:
|
||||||
@ -24,12 +26,12 @@ options:
|
|||||||
install: install.bin install.man
|
install: install.bin install.man
|
||||||
|
|
||||||
install.bin: ctpv ctpvclear
|
install.bin: ctpv ctpvclear
|
||||||
install -d $(BINPREFIX)
|
$(INSTALL) -d $(BINPREFIX)
|
||||||
install $^ $(BINPREFIX)
|
$(INSTALL) $^ $(BINPREFIX)
|
||||||
|
|
||||||
install.man: doc/ctpv.1
|
install.man: doc/ctpv.1
|
||||||
install -d $(MANPREFIX)
|
$(INSTALL) -d $(MANPREFIX)
|
||||||
install -m 0644 $^ $(MANPREFIX)
|
$(INSTALL) -m 0644 $^ $(MANPREFIX)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
$(RM) $(BINPREFIX)/ctpv $(BINPREFIX)/ctpvclear $(MANPREFIX)/ctpv.1
|
$(RM) $(BINPREFIX)/ctpv $(BINPREFIX)/ctpvclear $(MANPREFIX)/ctpv.1
|
||||||
|
Loading…
Reference in New Issue
Block a user