Makefile.am 725 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
14
15
man_MANS = b10-cfgmgr.8
EXTRA_DIST = $(man_MANS) b10-cfgmgr.xml

b10-cfgmgr.8: b10-cfgmgr.xml
	xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/b10-cfgmgr.xml

16
17
18
19
# 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 >$@
20
	chmod a+x $@
21
22
23
24
25

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