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.
# 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
$(LOCAL)-LIST := $(addprefix $(TO)/,$(SOURCE))
# Install generation hooks
-doc: $($(LOCAL)-LIST)
+$(TARGET): $($(LOCAL)-LIST)
veryclean: veryclean/$(LOCAL)
MKDIRS += $(dir $($(LOCAL)-LIST))
# Examples
SOURCE = examples/apt.conf examples/sources.list examples/configure-index
TO = $(DOC)
+TARGET = doc
include $(COPY_H)
# DSelect interfacing directory
SOURCE = desc.apt install names setup update
TO = $(BUILD)/scripts/dselect
+TARGET = program
include $(COPY_H)
LOCAL = dselect