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 \
|
||||
func.sgml \
|
||||
$(NULL)
|
||||
MAINTAINERCLEANFILES = \
|
||||
$(DOC_FUNCS_SGML) \
|
||||
if USEDOCBOOK
|
||||
maintainerdoccleanfiles = \
|
||||
$(NULL)
|
||||
cleandocfiles = \
|
||||
$(BUILT_DOCS) \
|
||||
$(NULL)
|
||||
else
|
||||
maintainerdoccleanfiles = \
|
||||
$(BUILT_DOCS) \
|
||||
$(NULL)
|
||||
cleandocfiles = \
|
||||
$(NULL)
|
||||
endif
|
||||
MAINTAINERCLEANFILES = \
|
||||
$(DOC_FUNCS_SGML) \
|
||||
$(maintainerdoccleanfiles) \
|
||||
$(NULL)
|
||||
CLEANFILES = \
|
||||
$(BUILT_DOCS) \
|
||||
$(cleandocfiles) \
|
||||
$(LOCAL_SGML_FILES) \
|
||||
confdir.sgml \
|
||||
func.refs \
|
||||
|
|
Loading…
Reference in New Issue