build: setup header generator in its own include/Makefile
Also move helper files to the new `build-aux' directory.
This commit is contained in:
14
include/Makefile.am
Normal file
14
include/Makefile.am
Normal 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
|
Reference in New Issue
Block a user