build: setup header generator in its own include/Makefile

Also move helper files to the new `build-aux' directory.
This commit is contained in:
Aleksander Morgado
2011-10-18 19:57:17 +02:00
parent 4643dca4a2
commit 365b906a3e
6 changed files with 22 additions and 11 deletions

14
include/Makefile.am Normal file
View File

@@ -0,0 +1,14 @@
XSLTPROC = xsltproc --xinclude --nonet
XMLS = $(wildcard $(top_srcdir)/introspection/*.xml)
includedir = @includedir@/mm
include_HEADERS = \
ModemManager.h
ModemManager.h: $(XMLS) $(top_srcdir)/introspection/all.xml $(top_srcdir)/build-aux/header-generator.xsl
$(XSLTPROC) $(top_srcdir)/build-aux/header-generator.xsl $(top_srcdir)/introspection/all.xml > $@
CLEANFILES = \
ModemManager.h