summaryrefslogtreecommitdiff
path: root/utils/mkdirhier/Makefile
blob: 1e044e49b0e0f3755480d7d2d9cf963e1d049562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TOP=../..
include $(TOP)/mk/boilerplate.mk

boot :: all

PROG=mkdirhier
CLEAN_FILES += $(PROG)
all::
	$(RM) -f $(PROG)
	echo '#!$(SHELL)'                              >> $(PROG)
	cat $(PROG).sh                                 >> $(PROG)
	$(EXECUTABLE_FILE) $(PROG)

binary-dist:
	$(INSTALL_DIR)              $(BIN_DIST_DIR)/utils/mkdirhier
	$(INSTALL_DATA)    Makefile $(BIN_DIST_DIR)/utils/mkdirhier/
	$(INSTALL_PROGRAM) $(PROG)  $(BIN_DIST_DIR)/utils/mkdirhier/

include $(TOP)/mk/target.mk