Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/rpms
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-07-29 17:19:01 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-07-29 17:21:27 (GMT)
commit2b59aea85df20459ee8dbda05ed7aacf35569441 (patch)
tree894eb5f69d3843c78e38ac74bf78717df06989a3 /rpms
parent0bf48989543a40337c868202f723b15980946793 (diff)
Add top-level Makefile for building packages
Diffstat (limited to 'rpms')
-rw-r--r--rpms/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/rpms/Makefile b/rpms/Makefile
new file mode 100644
index 0000000..db9108e
--- /dev/null
+++ b/rpms/Makefile
@@ -0,0 +1,26 @@
+# Copyright 2010 Bernie Innocenti <bernie@codewiz.org>
+#
+
+SUBDIRS = \
+ sugar-toolkit \
+ sugar-artwork \
+ sugar-datastore \
+ sugar \
+ #
+
+default:: all
+all:: all-recursive
+clean:: clean-recursive
+install:: install-recursive
+RECURSIVE_TARGETS = all-recursive install-recursive clean-recursive
+
+$(RECURSIVE_TARGETS):
+ @target=`echo $@ | sed s/-recursive//`; \
+ [ "$$target" == "all" ] && target=i586; \
+ for dir in $(SUBDIRS); do \
+ $(MAKE) -C $$dir $$target || exit 1; \
+ done
+
+# Remove all default pattern rules
+.SUFFIXES:
+