diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-03-13 13:44:17 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-03-13 14:33:55 +0100 |
commit | b7d514f78b6588e49166694ce18626a98c4d5270 (patch) | |
tree | e2c322e08daea03750a9c6555c5af1a6981e229e | |
parent | ed740489ed39e0fc3ec43e3f3a1e6e9e366a2c5e (diff) |
gbuild: UnoApiTarget: header dummy rules should depend on cppumaker
Change-Id: I709a1554021efe6ec5face00266819448faeba17
-rw-r--r-- | solenv/gbuild/UnoApiTarget.mk | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/solenv/gbuild/UnoApiTarget.mk b/solenv/gbuild/UnoApiTarget.mk index 29d8fd7684a1..35e7c1836ee3 100644 --- a/solenv/gbuild/UnoApiTarget.mk +++ b/solenv/gbuild/UnoApiTarget.mk @@ -351,23 +351,29 @@ $(call gb_UnoApiHeadersTarget_get_comprehensive_target,$(1)) : UNOAPI_DEPS := # need dummy recipes so that header files are delivered in Package_inc; # otherwise make will consider the header to be up-to-date because it was # actually built by the recipe for gb_UnoApiHeadersTarget_get_target -$(call gb_UnoApiHeadersTarget_get_real_dir,$(1))/%.hdl : +$(call gb_UnoApiHeadersTarget_get_real_dir,$(1))/%.hdl :| \ + $(call gb_UnoApiHeadersTarget_get_real_target,$(1)) touch $$@ -$(call gb_UnoApiHeadersTarget_get_real_dir,$(1))/%.hpp : +$(call gb_UnoApiHeadersTarget_get_real_dir,$(1))/%.hpp :| \ + $(call gb_UnoApiHeadersTarget_get_real_target,$(1)) touch $$@ -$(call gb_UnoApiHeadersTarget_get_real_bootstrap_dir,$(1))/%.hdl : +$(call gb_UnoApiHeadersTarget_get_real_bootstrap_dir,$(1))/%.hdl :| \ + $(call gb_UnoApiHeadersTarget_get_real_bootstrap_target,$(1)) touch $$@ -$(call gb_UnoApiHeadersTarget_get_real_bootstrap_dir,$(1))/%.hpp : +$(call gb_UnoApiHeadersTarget_get_real_bootstrap_dir,$(1))/%.hpp :| \ + $(call gb_UnoApiHeadersTarget_get_real_bootstrap_target,$(1)) touch $$@ -$(call gb_UnoApiHeadersTarget_get_real_comprehensive_dir,$(1))/%.hdl : - mkdir -p `dirname $$@` && touch $$@ +$(call gb_UnoApiHeadersTarget_get_real_comprehensive_dir,$(1))/%.hdl :| \ + $(call gb_UnoApiHeadersTarget_get_real_comprehensive_target,$(1)) + touch $$@ -$(call gb_UnoApiHeadersTarget_get_real_comprehensive_dir,$(1))/%.hpp : - mkdir -p `dirname $$@` && touch $$@ +$(call gb_UnoApiHeadersTarget_get_real_comprehensive_dir,$(1))/%.hpp :| \ + $(call gb_UnoApiHeadersTarget_get_real_comprehensive_target,$(1)) + touch $$@ endef |