Makefile.am 670 Bytes
Newer Older
1
SUBDIRS = . tests
2

3
4
5
6
# Install keactrl in sbin and the keactrl.conf required by the keactrl
# in etc. keactrl will look for its configuration file in the etc folder.
# If the default location needs to be changed the it may be achieved by
# setting KEACTRL_CONF environment variable.
7
sbin_SCRIPTS  = keactrl
8
CONFIGFILES = keactrl.conf kea.conf
9

10
DISTCLEANFILES = keactrl $(CONFIGFILES)
11
12
13
14
15
16
17
18
19
EXTRA_DIST = keactrl.in keactrl.conf.in

install-data-local:
	$(mkinstalldirs) $(DESTDIR)/@sysconfdir@/@PACKAGE@
	for f in $(CONFIGFILES) ; do	\
	  if test ! -f $(DESTDIR)$(sysconfdir)/@PACKAGE@/$$f; then	\
	    ${INSTALL_DATA} $$f $(DESTDIR)$(sysconfdir)/@PACKAGE@/ ;	\
	  fi ;	\
	done
20