diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 17:00:50 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 17:00:50 +0000 |
commit | 921cd883b98ee7ef43450d416701320466175a83 (patch) | |
tree | 5ee5110f1272bc4a0c58a5806f02c24682b585c7 | |
parent | 28dae50bd02ec8df0ced994bf616dcdc38b6af2a (diff) |
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.
-rw-r--r-- | buildlib/copy.mak | 4 | ||||
-rw-r--r-- | doc/makefile | 1 | ||||
-rw-r--r-- | dselect/makefile | 1 |
3 files changed, 5 insertions, 1 deletions
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)) diff --git a/doc/makefile b/doc/makefile index 2ea37eae7..6fef0cc6e 100644 --- a/doc/makefile +++ b/doc/makefile @@ -20,4 +20,5 @@ include $(SGML_MANPAGE_H) # Examples SOURCE = examples/apt.conf examples/sources.list examples/configure-index TO = $(DOC) +TARGET = doc include $(COPY_H) diff --git a/dselect/makefile b/dselect/makefile index cdc802864..c2059f92a 100644 --- a/dselect/makefile +++ b/dselect/makefile @@ -8,6 +8,7 @@ include ../buildlib/defaults.mak # DSelect interfacing directory SOURCE = desc.apt install names setup update TO = $(BUILD)/scripts/dselect +TARGET = program include $(COPY_H) LOCAL = dselect |