This is an archive of the discontinued Mercurial Phabricator instance.

hg: move hg script to be a template that gets filled in via make
Needs RevisionPublic

Authored by durin42 on Oct 4 2019, 11:28 AM.

Details

Reviewers
indygreg
Group Reviewers
hg-reviewers
Summary

Right now this is only handling the interpreter path, but we could do
more. I tried to add the hg rule as a dependency of everything that
might need it to work, but I didn't test all the packaging rules.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Oct 4 2019, 11:28 AM
indygreg requested changes to this revision.Oct 4 2019, 11:49 AM
indygreg added a subscriber: indygreg.

Changes are coming.

This revision now requires changes to proceed.Oct 4 2019, 11:49 AM
mharbison72 added inline comments.
Makefile
50

Any sane way to get this to strip $(DESTDIR) from the lead? (Or maybe just override it via another parameter.) That would solve one of the issues with the custom Mac install builder (D6846), but probably causes a problem running contrib/genosxversion.py (which wants to exec hg).