Commits

camlspotter committed b3a3755

for standalone build

  • Participants
  • Parent commits e0b5473

Comments (0)

Files changed (1)

 # Installation mark files
 # =======================================================================
 
-#| Installation mark files are put inside this directory.
-INSTALLED=$(BIG_ROOT)/installed
-mkdir(-p $(INSTALLED))
+# #| Installation mark files are put inside this directory.
+# INSTALLED=$(BIG_ROOT)/installed
+# mkdir(-p $(INSTALLED))
 
 #|Returns the installation mark files of $(packs)
 Installed(packs) = 
-  return $(addprefix $(INSTALLED)/, $(packs))
+  if $(defined INSTALLED)
+      return $(addprefix $(INSTALLED)/, $(packs))
+  else
+      return $(array)
 
 #|Create $(Installed $(pack)) file from the digests of $(targets)
 CreateInstalled(pack, targets)=
-    println(dump md5 $(INSTALLED)/$(pack))
-    chan=$(fopen $(INSTALLED)/$(pack), w)
-    fprintln($(chan), $(string $(targets)))	
-    fprintln($(chan), $(string $(digest $(targets))))
-    close($(chan))
+    if $(defined INSTALLED)
+        println(dump md5 $(INSTALLED)/$(pack))
+        chan=$(fopen $(INSTALLED)/$(pack), w)
+        fprintln($(chan), $(string $(targets)))	
+        fprintln($(chan), $(string $(digest $(targets))))
+        close($(chan))
 
 # Misc tools
 # ======================================================================