Commit 18968536 authored by Akira TAGOH's avatar Akira TAGOH

Don't clean up pre-built docs if no docbook installed.

Fixes #165
parent f2d4291d
...@@ -33,11 +33,25 @@ EXTRA_DIST = \ ...@@ -33,11 +33,25 @@ EXTRA_DIST = \
confdir.sgml.in \ confdir.sgml.in \
func.sgml \ func.sgml \
$(NULL) $(NULL)
MAINTAINERCLEANFILES = \ if USEDOCBOOK
$(DOC_FUNCS_SGML) \ maintainerdoccleanfiles = \
$(NULL) $(NULL)
CLEANFILES = \ cleandocfiles = \
$(BUILT_DOCS) \
$(NULL)
else
maintainerdoccleanfiles = \
$(BUILT_DOCS) \ $(BUILT_DOCS) \
$(NULL)
cleandocfiles = \
$(NULL)
endif
MAINTAINERCLEANFILES = \
$(DOC_FUNCS_SGML) \
$(maintainerdoccleanfiles) \
$(NULL)
CLEANFILES = \
$(cleandocfiles) \
$(LOCAL_SGML_FILES) \ $(LOCAL_SGML_FILES) \
confdir.sgml \ confdir.sgml \
func.refs \ func.refs \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment