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
|
PREFIX ?= /usr/local
|
||||||
INCLUDEDIR ?= $(PREFIX)/include
|
INCLUDEDIR ?= $(PREFIX)/include
|
||||||
|
|
||||||
install: $(HDRS)
|
install: $(INCLUDEDIR)/sc $(HDRS)
|
||||||
mkdir -p $(INCLUDEDIR)/sc
|
install -c -m 0644 $(HDRS) $(INCLUDEDIR)/sc
|
||||||
install -c -m 0666 $(HDRS) $(INCLUDEDIR)/sc
|
|
||||||
|
$(INCLUDEDIR)/sc:
|
||||||
|
install -m 0755 -d $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user