This is an archive of the discontinued Mercurial Phabricator instance.

packaging: dynamically define make targets
ClosedPublic

Authored by indygreg on Jun 16 2018, 2:19 PM.

Details

Summary

We currently have make boilerplate for each instance of a distro's
release. This is redundant, annoying to maintain, and prone to errors.

This commit defines variables holding available releases for
various distros. We then iterate through the list and dynamically
define make targets.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Jun 16 2018, 2:19 PM
durin42 accepted this revision.Jun 25 2018, 10:50 AM
This revision is now accepted and ready to land.Jun 25 2018, 10:50 AM
This revision was automatically updated to reflect the committed changes.