From 921cd883b98ee7ef43450d416701320466175a83 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:00:50 +0000 Subject: copy rules now require a TARGET var, to specify the tar... Author: doogie Date: 2003-02-12 07:28:33 GMT copy rules now require a TARGET var, to specify the target to install the copy rules under. The copy target in dselect/makefile installs itself under program, and not doc. --- buildlib/copy.mak | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'buildlib') 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)) -- cgit v1.2.3-70-g09d2