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