Added top-level Makefile
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Fri, 11 Mar 2011 06:12:39 +0000 (06:12 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Fri, 11 Mar 2011 06:12:39 +0000 (06:12 +0000)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..eefaf70
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+# Makefile for hvlinux
+
+# Idées pour future targets:
+#   clean
+#   strip
+#   compress -> compressdoc (à partir du stage2)
+#   dep
+#   list -> list installed packages and versions
+
+.PHONY: get test
+
+all: get
+
+# Fetch packages from network
+get:
+       @for k in $$(seq 0 6); do \
+         make -C stage$${k} $(MAKECMDGOALS); \
+        done
+
+# Test integrity of packages
+test:
+       @for k in $$(seq 0 6); do \
+         make -C stage$${k} $(MAKECMDGOALS); \
+        done