Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 586 Bytes
# mwcollectd automake input
# (c) 2009 by Georg Wicherski, Kaspersky Labs GmbH <gw@mwcollect.org>
# Installing configuration and embed-python modules inspired by Markus Koetter.
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src
EXTRA_DIST = README
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/mwcollectd
for conf in `find ./conf/ -name '*.conf' -or -name '*.pyconf'`; do \
target=$(DESTDIR)$(sysconfdir)/mwcollectd/`basename "$$conf"`; \
if [ ! -e "$$target" ]; then \
$(INSTALL_DATA) "$$conf" "$$target"; \
fi; \
done