Merge branch 'master' of git://cadel.mutabah.net/acess2
[tpg/acess2.git] / Usermode / Filesystem / Makefile
index b9b85f0..a49d887 100644 (file)
@@ -1,25 +1,30 @@
 # Acess 2
 # - Usermode Filesystem Structure Generator
 
--include ../../Makefile.cfg
+-include ../Makefile.cfg
 
-DIRS  = Bin SBin Libs Modules Applications
+DIRS  = Bin SBin Libs Modules Apps
 DIRS += Conf Conf/Auth
-FILES = Conf/BootConf.cfg Conf/Auth/Users Conf/Auth/Passwords Conf/Auth/Groups
+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) DISTROOT
 
-all:   $(DIRS) $(FILES)
+install: DISTROOT $(DIRS) $(FILES)
 
 clean:
 
+DISTROOT:
+       $(xMKDIR) $(DISTROOT); true
+
 $(DIRS):
-       $(xMKDIR) $(DISTROOT)/$@
+       $(xMKDIR) $(DISTROOT)/$@; true
 
 $(FILES):
-       $(xCP) $< $(DISTROOT)/$@
+       $(xCP) $@ $(DISTROOT)/$@
 
 force: ;

UCC git Repository :: git.ucc.asn.au