Makefile.am 521 B

12345678910111213141516171819202122
  1. SUBDIRS = . tests
  2. pkglibexecdir = $(libexecdir)/@PACKAGE@
  3. pkglibexec_SCRIPTS = b10-msgq
  4. CLEANFILES = b10-msgq msgq.pyc
  5. man_MANS = b10-msgq.8
  6. EXTRA_DIST = $(man_MANS) msgq.xml
  7. if ENABLE_MAN
  8. b10-msgq.8: msgq.xml
  9. xsltproc --novalid --xinclude --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $(srcdir)/msgq.xml
  10. endif
  11. # this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
  12. b10-msgq: msgq.py
  13. $(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" msgq.py >$@
  14. chmod a+x $@