Browse Source

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.
debian/1.8.y
Arch Librarian 18 years ago
parent
commit
921cd883b9
  1. 4
      buildlib/copy.mak
  2. 1
      doc/makefile
  3. 1
      dselect/makefile

4
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))

1
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)

1
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

Loading…
Cancel
Save