The ModemManager-names.h header file is generated on git builds, and shipped within the release tarball, so treat it as a maintainer managed file that should only be removed on 'maintainer-clean'. This allows us to avoid requiring xsltproc to build release tarballs.
24 lines
595 B
Makefile
24 lines
595 B
Makefile
XSLTPROC = xsltproc --xinclude --nonet
|
|
|
|
XMLS = $(wildcard $(top_srcdir)/introspection/*.xml)
|
|
|
|
includedir = @includedir@/ModemManager
|
|
|
|
include_HEADERS = \
|
|
ModemManager-names.h \
|
|
ModemManager-enums.h \
|
|
ModemManager-errors.h \
|
|
ModemManager-compat.h \
|
|
ModemManager-version.h \
|
|
ModemManager.h
|
|
|
|
ModemManager-names.h: $(XMLS) $(top_srcdir)/build-aux/header-generator.xsl
|
|
$(AM_V_GEN) $(XSLTPROC) $(top_srcdir)/build-aux/header-generator.xsl $(top_srcdir)/introspection/all.xml > $@
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
ModemManager-names.h
|
|
|
|
EXTRA_DIST = \
|
|
ModemManager-tags.h \
|
|
ModemManager-version.h.in
|