X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..f8477782df203e1998a8704e71a1a3cc699e9e3a:/buildlib/copy.mak?ds=sidebyside diff --git a/buildlib/copy.mak b/buildlib/copy.mak index 892b74bc4..15f448827 100644 --- a/buildlib/copy.mak +++ b/buildlib/copy.mak @@ -5,6 +5,8 @@ # Input # $(SOURCE) - The documents to use # $(TO) - The directory to put them in +# $(TARGET) - The global target to add the local target as a dependency +# to. # All output is writtin to files in the build/$(TO) directory # See defaults.mak for information about LOCAL @@ -14,7 +16,7 @@ LOCAL := copy-$(firstword $(SOURCE)) $(LOCAL)-LIST := $(addprefix $(TO)/,$(SOURCE)) # Install generation hooks -doc: $($(LOCAL)-LIST) +$(TARGET): $($(LOCAL)-LIST) veryclean: veryclean/$(LOCAL) MKDIRS += $(dir $($(LOCAL)-LIST))