Makefile.am 725 Bytes
Newer Older
1
2
3
4
pkglibexecdir = $(libexecdir)/@PACKAGE@

pkglibexec_SCRIPTS = b10-cmdctl

5
b10_cmdctldir = $(DESTDIR)$(pkgdatadir)
6
7
8
9
10
11
12
13
14
15

# NOTE: this will overwrite on install
# So these generic copies are placed in share/bind10 instead of to etc
# Admin or packageer will need to put into place manually.

b10_cmdctl_DATA = cmdctl-accounts.csv cmdctl-keyfile.pem cmdctl-certfile.pem
b10_cmdctl_DATA += cmdctl.spec
 
EXTRA_DIST = cmdctl-accounts.csv cmdctl-keyfile.pem cmdctl-certfile.pem
EXTRA_DIST += cmdctl.spec
16

Jeremy C. Reed's avatar
Jeremy C. Reed committed
17
CLEANFILES=	b10-cmdctl
18
19
20

# TODO: does this need $$(DESTDIR) also?
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
21
22
b10-cmdctl: cmdctl.py
	$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" cmdctl.py >$@
23
	chmod a+x $@