Module: check_mk
Branch: master
Commit: 2d1685bce05c3e4e7da2956607a9944abca181ae
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2d1685bce05c3e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 28 10:10:23 2017 +0200
Include build artefacts in dist tarball (aclocal.m4, config.h.in, configure)
Change-Id: Id8168a701d05f9faeae6da1ec501b871b78ba5e1
---
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 9233c29..daa490c 100644
--- a/Makefile
+++ b/Makefile
@@ -190,12 +190,14 @@ check-version:
# is currently not used by most distros
# Would also use --exclude-vcs, but this is also not available
# And --transform is also missing ...
-dist: mk-livestatus-$(VERSION).tar.gz
+dist: mk-livestatus-$(VERSION).tar.gz config.h.in configure
@EXCLUDES= ; \
if [ -d .git ]; then \
git rev-parse --short HEAD > COMMIT ; \
for X in $$(git ls-files --directory --others -i --exclude-standard) ; do \
- EXCLUDES+=" --exclude $${X%*/}" ; \
+ if [[ $$X != aclocal.m4 && $$X != config.h.in && $$X != configure ]];
then \
+ EXCLUDES+=" --exclude $${X%*/}" ; \
+ fi ; \
done ; \
fi ; \
if [ -d check-mk-$(EDITION)-$(OMD_VERSION) ]; then \