Improved install
This commit is contained in:
parent
7c6d8e4add
commit
045eadd3b4
8
Makefile
8
Makefile
@ -3,6 +3,8 @@ HDRS := $(wildcard *.hpp)
|
||||
PREFIX ?= /usr/local
|
||||
INCLUDEDIR ?= $(PREFIX)/include
|
||||
|
||||
install: $(HDRS)
|
||||
mkdir -p $(INCLUDEDIR)/sc
|
||||
install -c -m 0666 $(HDRS) $(INCLUDEDIR)/sc
|
||||
install: $(INCLUDEDIR)/sc $(HDRS)
|
||||
install -c -m 0644 $(HDRS) $(INCLUDEDIR)/sc
|
||||
|
||||
$(INCLUDEDIR)/sc:
|
||||
install -m 0755 -d $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user