aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-10-18 19:57:17 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:18 +0100
commit365b906a3e1bda05af10f92451a6b6ae60f8b879 (patch)
tree8363d61c92f8419d041f73c3e42de8fbf595ffd4 /include
parent4643dca4a2bd70c71fb825f6d98334a5bf608b94 (diff)
build: setup header generator in its own include/Makefile
Also move helper files to the new `build-aux' directory.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
new file mode 100644
index 00000000..03b6b934
--- /dev/null
+++ b/include/Makefile.am
@@ -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 \ No newline at end of file