Module: check_mk
Branch: master
Commit: 343685518bad5190369ed033052567a365cce5a5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=343685518bad51…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jun 30 10:08:31 2014 +0200
Windows agent: do not ship source files with binary distribution
---
Makefile | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5cd80d8..442a73a 100644
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,22 @@ dist: mk-livestatus mk-eventd
cp multisite.mk multisite.mk-$(VERSION)
tar czf $(DISTNAME)/conf.tar.gz $(TAROPTS) main.mk-$(VERSION) multisite.mk-$(VERSION)
rm -f main.mk-$(VERSION) multisite.mk-$(VERSION)
- tar czf $(DISTNAME)/agents.tar.gz $(TAROPTS) -C agents --exclude "*~"
--exclude .f12 $$(cd agents ; ls)
+ tar czf $(DISTNAME)/agents.tar.gz $(TAROPTS) -C agents \
+ --exclude "build_version" \
+ --exclude "*.rc" \
+ --exclude "*.rc.in" \
+ --exclude "bin_replace" \
+ --exclude "*.nsi" \
+ --exclude "*.ico" \
+ --exclude "endless.bat" \
+ --exclude "logstate.txt" \
+ --exclude "*.unversioned.exe" \
+ --exclude "*.cc" \
+ --exclude "*.res" \
+ --exclude "*~" \
+ --exclude "Makefile" \
+ --exclude "crash.exe" \
+ --exclude .f12 $$(cd agents ; ls)
cd $(DISTNAME) ; ../make_package_info $(VERSION) > package_info
install -m 755 scripts/*.{sh,py} $(DISTNAME)
install -m 644 COPYING AUTHORS ChangeLog $(DISTNAME)