Don't clean up pre-built docs if no docbook installed.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/165
This commit is contained in:
parent
f2d4291d12
commit
189685365a
|
@ -33,11 +33,25 @@ EXTRA_DIST = \
|
||||||
confdir.sgml.in \
|
confdir.sgml.in \
|
||||||
func.sgml \
|
func.sgml \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
if USEDOCBOOK
|
||||||
|
maintainerdoccleanfiles = \
|
||||||
|
$(NULL)
|
||||||
|
cleandocfiles = \
|
||||||
|
$(BUILT_DOCS) \
|
||||||
|
$(NULL)
|
||||||
|
else
|
||||||
|
maintainerdoccleanfiles = \
|
||||||
|
$(BUILT_DOCS) \
|
||||||
|
$(NULL)
|
||||||
|
cleandocfiles = \
|
||||||
|
$(NULL)
|
||||||
|
endif
|
||||||
MAINTAINERCLEANFILES = \
|
MAINTAINERCLEANFILES = \
|
||||||
$(DOC_FUNCS_SGML) \
|
$(DOC_FUNCS_SGML) \
|
||||||
|
$(maintainerdoccleanfiles) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
$(BUILT_DOCS) \
|
$(cleandocfiles) \
|
||||||
$(LOCAL_SGML_FILES) \
|
$(LOCAL_SGML_FILES) \
|
||||||
confdir.sgml \
|
confdir.sgml \
|
||||||
func.refs \
|
func.refs \
|
||||||
|
|
Loading…
Reference in New Issue