Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Fix builds on macOS #142

Merged
merged 11 commits into from
Jan 28, 2018
Merged

Conversation

astralblue
Copy link

Address a few platform differences such as sed -i option and omitting the current directory if it is the only path argument to find.

Also, make builds repeatable and not touch source-controlled files, and .gitignore build artifacts.

Eugene M. Kim added 11 commits January 26, 2018 12:16
This avoids modifying source-controlled files from build.  This also
avoids use of nonstandard -i option (whose backup-less form differs
between the GNU version and the BSD/macOS version).
The source is one of the two update_*.txt files.  Create
unconditionally, because the $(update) value may change from time to
time and there is no way to determine if it has changed.
This is to avoid repetition and, in turn, copy-and-paste glitches later.
Without this, if make were re-run after removing a source file from the
repository, the removed file would not be retired out of the XPI file,
causing confusion.
This is because install.rdf is no longer source-controlled.
Taking the current directory when no path is given is a GNU extension
and breaks macOS builds.
@Trim
Copy link
Member

Trim commented Jan 28, 2018

Thanks, these modifications were indeed needed.

That was a good idea to use a template for the RDF, that's more robust than the older regular expressions.

@astralblue astralblue deleted the fix_mac_build branch February 7, 2018 19:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants