build: don't remove ModemManager-names.h on 'clean'

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.
This commit is contained in:
Aleksander Morgado
2020-11-08 09:29:20 +01:00
parent 5df9ddac18
commit 3bda0562b9

View File

@@ -15,7 +15,7 @@ include_HEADERS = \
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 > $@
CLEANFILES = \
MAINTAINERCLEANFILES = \
ModemManager-names.h
EXTRA_DIST = \