aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-16 20:14:22 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-16 20:14:22 -0500
commite409c177e2f92714012b7c0199f631173f4e6066 (patch)
tree144e73b52b218c677d7d2b8b3333648c9d76561e
parenttests: add out-of-tree build support (diff)
downloadpax-utils-e409c177e2f92714012b7c0199f631173f4e6066.tar.gz
pax-utils-e409c177e2f92714012b7c0199f631173f4e6066.tar.bz2
pax-utils-e409c177e2f92714012b7c0199f631173f4e6066.zip
build: update autotools build to pass distcheck
-rw-r--r--Makefile2
-rw-r--r--Makefile.am6
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 \