summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-05-03 15:24:49 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-04 12:00:58 +0200
commit363a37b6e377f00e5b8c4f869d6e587394c36258 (patch)
tree3477343558955eafc292f481bff827cb453b7a6b /odk
parent361642c0946fbe75cb1d4b477496a62d0469a19e (diff)
odk: remove output directory before invoking doxygen
Change-Id: I04b8dbecbe62f8d72ca75f6508046294c3409a17
Diffstat (limited to 'odk')
-rw-r--r--odk/CustomTarget_doxygen.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/CustomTarget_doxygen.mk b/odk/CustomTarget_doxygen.mk
index bf92167d8b96..7ff46dc130da 100644
--- a/odk/CustomTarget_doxygen.mk
+++ b/odk/CustomTarget_doxygen.mk
@@ -52,7 +52,7 @@ $(call gb_CustomTarget_get_workdir,odk/docs)/cpp/doxygen.log : \
$(SRCDIR)/odk/pack/gendocu/main.dox \
$(call gb_PackageSet_get_target,odk_headers)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),GEN,1)
- $(DOXYGEN) $< > $@
+ rm -rf $(odk_cpp_DOXY_WORKDIR)/ && $(DOXYGEN) $< > $@
$(eval $(call gb_CustomTarget_register_targets,odk/docs,\
idl/Doxyfile \
@@ -84,6 +84,6 @@ $(call gb_CustomTarget_get_workdir,odk/docs)/idl/doxygen.log : \
$(call gb_CustomTarget_get_workdir,odk/docs)/idl/Doxyfile \
$(SRCDIR)/odk/pack/gendocu/idl/main.dox
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),GEN,1)
- $(DOXYGEN) $< > $@
+ rm -rf $(odk_idl_DOXY_WORKDIR)/ && $(DOXYGEN) $< > $@
# vim: set noet sw=4 ts=4: