# Acess 2
# - Usermode Filesystem Structure Generator
--include ../../Makefile.cfg
+-include ../Makefile.cfg
DIRS = Bin SBin Libs Modules Apps
DIRS += Conf Conf/Auth
-FILES = Conf/BootConf.cfg
+FILES = Conf/inittab
# Conf/Auth/Users Conf/Auth/Passwords Conf/Auth/Groups
#DIRS := $(addprefix $(DISTROOT)/,$(DIRS))
#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)/$@