diff options
| -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 + |
