# Acess 2
# - Usermode Filesystem Structure Generator
--include ../../Makefile.cfg
+-include ../Makefile.cfg
DIRS = Bin SBin Libs Modules Apps
DIRS += Conf Conf/Auth
#FILES := $(addprefix $(DISTROOT)/,$(FILES))
.PHONY: all clean
-.PHONY: $(DIRS) $(FILES)
+.PHONY: $(DIRS) $(FILES) DISTROOT
-install: $(DIRS) $(FILES)
+install: DISTROOT $(DIRS) $(FILES)
clean:
+DISTROOT:
+ $(xMKDIR) $(DISTROOT); true
+
$(DIRS):
- $(xMKDIR) $(DISTROOT)/$@
+ $(xMKDIR) $(DISTROOT)/$@; true
$(FILES):
$(xCP) $@ $(DISTROOT)/$@