diff options
| author | Mario 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) |
| commit | b8938a2f49b6d99426f5e255db8d70418800cc9c (patch) | |
| tree | 53d2ad544880677eadbb2ecf92b348beb4f05e12 | |
| parent | 89f44685fb031ba44d263fb25e1685070207474d (diff) | |
| download | scripts-master.tar.gz | |
| -rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 + |
