summaryrefslogtreecommitdiff
path: root/vcl/CustomTarget_kde4_moc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/CustomTarget_kde4_moc.mk')
-rw-r--r--vcl/CustomTarget_kde4_moc.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/vcl/CustomTarget_kde4_moc.mk b/vcl/CustomTarget_kde4_moc.mk
index bd887e582227..fc2555a9654b 100644
--- a/vcl/CustomTarget_kde4_moc.mk
+++ b/vcl/CustomTarget_kde4_moc.mk
@@ -27,11 +27,12 @@
$(eval $(call gb_CustomTarget_CustomTarget,vcl/unx/kde4))
-VCKM := $(call gb_CustomTarget_get_workdir,vcl/unx/kde4)
+$(call gb_CustomTarget_get_target,vcl/unx/kde4) : \
+ $(call gb_CustomTarget_get_workdir,vcl/unx/kde4)/KDEXLib.moc
-$(call gb_CustomTarget_get_target,vcl/unx/kde4) : $(VCKM)/KDEXLib.moc
-
-$(VCKM)/KDEXLib.moc : $(SRCDIR)/vcl/unx/kde4/KDEXLib.hxx | $(VCKM)/.dir
+$(call gb_CustomTarget_get_workdir,vcl/unx/kde4)/KDEXLib.moc : \
+ $(SRCDIR)/vcl/unx/kde4/KDEXLib.hxx \
+ | $(call gb_CustomTarget_get_workdir,vcl/unx/kde4)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MOC,1)
$(MOC4) $< -o $@