diff --git a/makefile.am b/makefile.am index aaad9e8..4be9d55 100644 --- a/makefile.am +++ b/makefile.am @@ -19,9 +19,13 @@ EXTRA_DIST = bootstrap.sh debian DISTCLEANFILES = debian/changelog -deb: dist - tar xzvf @PACKAGE@-@VERSION@.tar.gz - cd @PACKAGE@-@VERSION@ && dpkg-buildpackage +ARCHS = i386 amd64 + +deb: ${ARCHS} + +${ARCHS}: dist + tar xzvf @PACKAGE@-@VERSION@.tar.gz + cd @PACKAGE@-@VERSION@ && dpkg-buildpackage -a$@ rm -rf @PACKAGE@-@VERSION@ infosdir = ${pkgdatadir}