Merge branch 'canoe' into vlock-2
[vlock.git] / scripts / Makefile
blob5cd40171288ee96e02abed2227471054aad844fc
1 include ../config.mk
3 .PHONY: all
4 all: $(SCRIPTS)
6 .PHONY: install
7 install: $(addprefix install-, $(SCRIPTS))
9 SCRIPT_GROUP = $(ROOT_GROUP)
10 SCRIPT_MODE = 0755
12 install-%.sh : SCRIPT_TARGET=$(<:.sh=)
13 install-%: %
14 $(MKDIR_P) -m 755 $(DESTDIR)$(SCRIPTDIR)
15 $(INSTALL) -m $(SCRIPT_MODE) -o root -g $(SCRIPT_GROUP) $< $(DESTDIR)$(SCRIPTDIR)/$(SCRIPT_TARGET)
17 .PHONY: clean
18 clean: