summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Izquierdo (mariodebian) <mariodebian@gmail.com>2012-01-08 18:09:13 (CET)
committer Mario Izquierdo (mariodebian) <mariodebian@gmail.com>2012-01-08 18:09:13 (CET)
commitb8938a2f49b6d99426f5e255db8d70418800cc9c (patch)
tree53d2ad544880677eadbb2ecf92b348beb4f05e12
parent89f44685fb031ba44d263fb25e1685070207474d (diff)
downloadscripts-master.tar.gz
Update allpkgs target and allow to disable i386HEADmaster
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8e348d9..56214a4 100644
--- a/Makefile
+++ b/Makefile
@@ -76,15 +76,19 @@ targz: clean
-DISTROS:=unstable testing squeeze lenny maverick lucid karmic jaunty
-ARCHITECTURES=i386 amd64
+#DISTROS:=unstable testing squeeze lenny natty maverick lucid
+DISTROS:=unstable testing squeeze precise oneiric natty lucid
+ARCHS=i386 amd64
allpkgs:
+ @echo DISTROS=$(DISTROS)
+ @echo ARCHS=$(ARCHS)
@if [ "$(PKG)" = "" ]; then echo "Need to say PKG=foo "; exit 1; fi
@for distro in $(DISTROS); do\
echo "\n\n\t BUILD $(PKG) $$distro i386"; \
- scripts/build.pkg.sh $(PKG) $$distro i386 || true ; \
- if grep Architecture $(PKG)/debian/control | grep -q any ; then \
+ echo $(ARCHS) | grep -q i386 && scripts/build.pkg.sh $(PKG) $$distro i386 || true ; \
+ if grep Architecture $(PKG)/debian/control | grep -q any && echo $(ARCHS) | grep -q amd64; then \
scripts/build.pkg.sh $(PKG) $$distro amd64 || true ; \
fi ;\
done
+