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

Jelte Jansen's avatar
Jelte Jansen committed
3
pkglibexec_SCRIPTS = b10-cfgmgr
4

5
CLEANFILES = b10-cfgmgr
6

7
b10_cfgmgrdir = @localstatedir@/@PACKAGE@
8
#B10_cfgmgr_DATA = 
9

10
11
12
13
# TODO: does this need $$(DESTDIR) also?
# this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
b10-cfgmgr: b10-cfgmgr.py
	$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" b10-cfgmgr.py >$@
14
	chmod a+x $@
15
16
17
18
19

install-data-local:
	$(mkinstalldirs) $(DESTDIR)/@localstatedir@/@PACKAGE@
# TODO: permissions handled later