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
|
||||
LDFLAGS += $(addprefix -l,$(LIBS))
|
||||
|
||||
INSTALL := install
|
||||
|
||||
all: ctpv
|
||||
|
||||
options:
|
||||
@ -24,12 +26,12 @@ options:
|
||||
install: install.bin install.man
|
||||
|
||||
install.bin: ctpv ctpvclear
|
||||
install -d $(BINPREFIX)
|
||||
install $^ $(BINPREFIX)
|
||||
$(INSTALL) -d $(BINPREFIX)
|
||||
$(INSTALL) $^ $(BINPREFIX)
|
||||
|
||||
install.man: doc/ctpv.1
|
||||
install -d $(MANPREFIX)
|
||||
install -m 0644 $^ $(MANPREFIX)
|
||||
$(INSTALL) -d $(MANPREFIX)
|
||||
$(INSTALL) -m 0644 $^ $(MANPREFIX)
|
||||
|
||||
uninstall:
|
||||
$(RM) $(BINPREFIX)/ctpv $(BINPREFIX)/ctpvclear $(MANPREFIX)/ctpv.1
|
||||
|
Loading…
Reference in New Issue
Block a user