Emery Hemingway
c5817f347a
Rather than call a small macro without inputs or outputs, ": |> !bin |>", include a file that will perform some metadata checks and invoke the !bin macro. In this way checks are extensible across packages by simply adding them to the common $(BIN_RULES) file.
15 lines
391 B
Plaintext
15 lines
391 B
Plaintext
ifeq ($(BIN_NAME),)
|
|
error BIN_NAME is empty
|
|
endif
|
|
|
|
ifeq ($(BIN_VERSION),)
|
|
error BIN_VERSION is empty
|
|
endif
|
|
|
|
: |> !bin |>
|
|
# Finalize the metadata with the macro defined in the
|
|
# ../Tuprules.tup. The macro cannot be defined here
|
|
# because the "include" directive is not available for
|
|
# relative paths during "include_rules" so this file
|
|
# cannot be included by intermediate Tuprules.tup.
|