diff options
author | Keith Packard <keithp@keithp.com> | 2012-10-14 10:11:14 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-10-14 10:20:07 -0700 |
commit | 54bf8907d1f96e44a3edd912abe6fe76572b5ad4 (patch) | |
tree | 9e4896000bdd522296d32f5173d24d7ef8d509ae | |
parent | cb9d9b47e8228ee7397b079920d172f1925f8aae (diff) |
Clean up debian source tarball.
Commit cb9d9b47e8228ee7397b079920d172f1925f8aae tried to avoid using
the autotools .tar.gz file by building the debian package directly in
the source directory. This is a terrible mistake as dpkg-source will
pick up whatever garbage is lying around.
Instead, use the existing distdir target, which creates a clean source
tree, and do the pdebuild there.
Fixes bug #688056
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 6ca20ef..9536130 100644 --- a/Makefile.am +++ b/Makefile.am @@ -83,8 +83,9 @@ debuild: $(DEBFILE) $(LIBDEBFILE) $(LIBDEBFILE): $(DEBFILE) -$(DEBFILE): $(TARFILE) - (pdebuild --buildresult $(abs_top_builddir) --auto-debsign --debbuildopts -i) +$(DEBFILE): distdir + (cd $(distdir) && pdebuild --buildresult $(abs_top_builddir) --auto-debsign) + $(am__remove_distdir) $(TARFILE): dist-gzip |