Merge branch 'master' of git://git.ucc.asn.au/tpg/acess2
[tpg/acess2.git] / Usermode / Filesystem / Makefile
index 410a01b..7eb0694 100644 (file)
@@ -1,7 +1,7 @@
 # Acess 2
 # - Usermode Filesystem Structure Generator
 
--include ../../Makefile.cfg
+-include ../Makefile.cfg
 
 DIRS  = Bin SBin Libs Modules Apps
 DIRS += Conf Conf/Auth
@@ -12,12 +12,15 @@ FILES = Conf/BootConf.cfg
 #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)/$@; true
 

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