commit:     e409c177e2f92714012b7c0199f631173f4e6066
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 17 01:14:22 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Thu Dec 17 01:14:22 2015 +0000
URL:        https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=e409c177

build: update autotools build to pass distcheck

 Makefile    | 2 +-
 Makefile.am | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 6375315..b9be199 100644
--- a/Makefile
+++ b/Makefile
@@ -160,7 +160,7 @@ check test:
 #
 GEN_MARK_START = \# @@@ GEN START @@@ \#
 GEN_MARK_END   = \# @@@ GEN END @@@ \#
-EXTRA_DIST     = $(shell git ls-files)
+EXTRA_DIST     = $(shell git ls-files | grep -v ^travis/)
 autotools-update:
        $(MAKE) -C man -j
        sed -i.tmp '/^$(GEN_MARK_START)$$/,/^$(GEN_MARK_END)$$/d' Makefile.am

diff --git a/Makefile.am b/Makefile.am
index e42dce4..82bc3a5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,6 +18,7 @@ LDADD = libpaxutils.la 
$(top_builddir)/autotools/gnulib/libgnu.a
 
 bin_SCRIPTS = lddtree symtree
 bin_PROGRAMS = scanelf dumpelf pspax scanmacho
+CLEANFILES = $(bin_SCRIPTS)
 
 if USE_PYTHON
 lddtree: lddtree.py
@@ -46,11 +47,12 @@ EXTRA_DIST = autotools/m4/gnulib-cache.m4
 dist_man_MANS += \
        man/dumpelf.1 \
        man/pspax.1 \
-       man/scanmacho.1 \
-       man/scanelf.1
+       man/scanelf.1 \
+       man/scanmacho.1
 EXTRA_DIST += \
        .depend \
        .gitignore \
+       .travis.yml \
        BUGS \
        COPYING \
        Makefile \

Reply via email to