Better DISTFILES handling for version modulations
Brought to you by:
dmichelsen,
wahwah
And excerpt from the maintainers mailing list:
The second thing, version-modulated distfiles. Can we, instead of
creating the list and the filtering it, include only the right
versions? For instance:
DISTFILES_version-$(GARVERSION) = $(GARNAME)-$(GARVERSION).tar.gz
...and then have DISTFILES being assembled by GAR?
I have already tought of something similar as you your left-hand side
would expand during Makefile parsing. You would need some kind of
definition like
VDISTFILES = $$(GARNAME)-$$(VERSION).tar.gz
which would then be expanded during evaluation. It would also allow
automatic upstream watches with substituted $$(VERSION) for
UWATCH and easier version modulations.