summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/Library_oox.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/oox/Library_oox.mk b/oox/Library_oox.mk
index aaf7292d53c6..4c3db9ab9c4b 100644
--- a/oox/Library_oox.mk
+++ b/oox/Library_oox.mk
@@ -366,11 +366,17 @@ $(eval $(call oox_GenTarget_GenTarget,namespaces,namespace,namespaces.txt))
$(eval $(call oox_GenTarget_GenTarget,properties,property,))
$(eval $(call oox_GenTarget_GenTarget,tokens,token,tokenhash.gperf))
+$(call gb_Package_get_target,oox_tokens) :| $(OUTDIR)/inc/oox/namespaces.txt
+$(call gb_Package_get_clean_target,oox_tokens) : oox_ns_clean
$(call gb_Library_get_clean_target,oox) : oox_clean
+
oox_clean :
rm -rf $(WORKDIR)/oox
-.PHONY: oox_clean
+oox_ns_clean :
+ rm -rf $(OUTDIR)/inc/oox/namespaces.txt
+.PHONY: oox_clean oox_ns_clean
-$(eval $(call gb_Deliver_add_deliverable,$(OUTDIR)/inc/oox/namespaces.txt,$(oox_MISC)/namespaces.txt))
+$(OUTDIR)/inc/oox/namespaces.txt : $(oox_MISC)/namespaces.txt
+ cp $< $@
# vim: set noet ts=4 sw=4: