Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: Makefile.am

Issue 1409001: Generate a header file for ModemManager (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | header-generator.xsl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile.am
diff --git a/Makefile.am b/Makefile.am
index 915f82e5f7d621bd15d282601e3ba8bfbed5ffc8..acdf12c65f60154a7c7a4ec970457f0a345cc138 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,10 +1,11 @@
+XSLTPROC = xsltproc --xinclude --nonet
+
+XMLS = $(wildcard introspection/mm-*.xml)
+
if WITH_DOCS
all:
-XSLTPROC = xsltproc --xinclude --nonet
-
-XMLS = $(wildcard introspection/mm-*.xml)
# Figure out if we need ASYNC_INTROSPECT and add it later
GENERATED_FILES = \
@@ -28,6 +29,14 @@ dbusactivationdir = $(datadir)/dbus-1/system-services
dbusactivation_in_files = org.freedesktop.ModemManager.service.in
dbusactivation_DATA = $(dbusactivation_in_files:.service.in=.service)
+includedir = @includedir@/mm
+
+include_HEADERS = include/mm-modem.h
+
+include/mm-modem.h: $(XMLS) introspection/all.xml header-generator.xsl
+ @install -d include
+ $(XSLTPROC) header-generator.xsl introspection/all.xml > $@
+
%service: %service.in
$(edit) $< >$@
« no previous file with comments | « no previous file | header-generator.xsl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698