Makefile.am 560 Bytes
Newer Older
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1
2
SUBDIRS = tests

3
4
pkglibexecdir = $(libexecdir)/@PACKAGE@
 
5
pkglibexec_SCRIPTS = b10-msgq
6

7
CLEANFILES = b10-msgq msgq.pyc
8

9
man_MANS = b10-msgq.8
Jeremy C. Reed's avatar
Jeremy C. Reed committed
10
EXTRA_DIST = $(man_MANS) msgq.xml
11

12
13
if ENABLE_MAN

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

17
18
endif

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