diff options
author | rillig <rillig@pkgsrc.org> | 2020-06-29 20:30:13 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-06-29 20:30:13 +0000 |
commit | 32824b270e66f92c83b748c8fcb00e6d65a6eea3 (patch) | |
tree | 43e391beb7b6a221bde43689c5a72b56aba2b517 /regress/print-plist | |
parent | 759697dedf8084835db63f57b00c28709c5a4c2c (diff) | |
download | pkgsrc-32824b270e66f92c83b748c8fcb00e6d65a6eea3.tar.gz |
mk/haskell.mk: only add PLIST_SUBST and PRINT_PLIST_AWK if useful
The PLIST_SUBST and PLIST_PRINT_AWK definitions for Haskell library
packages are only useful if the package-description file exists. If
that file is absent though, these are skipped.
The test whether the file exists is made as late as possible since that
file does not yet exist at the point where the package Makefile is
parsed.
This also affects the show-all-haskell target, which only shows these
values after the install phase. This is not perfect but good enough for
practical cases.
Diffstat (limited to 'regress/print-plist')
0 files changed, 0 insertions, 0 deletions