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

5
CLEANFILES = msgq
6

7
8
9
man_MANS = msgq.8
EXTRA_DIST = $(man_MANS) msgq.xml

10
11
if ENABLE_MAN

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

15
16
endif

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