utzig / lm4tools

Tools to enable multi-platform development on the TI Stellaris Launchpad boards
203 stars 46 forks source link

Add make install target #28

Closed utzig closed 6 years ago

utzig commented 6 years ago

Add a make install target and make PREFIX mandatory. This was requested by Homebrew.

utzig commented 6 years ago

@dancek FYI, this implements #27 .

dancek commented 6 years ago

Great, thanks!

dancek commented 6 years ago

It would be good to create the PREFIX/bin directory if it doesn't exist (probably mkdir -p in any case is safe). Looks like most other projects do that.

dancek commented 6 years ago

Turns out the version of install on MacOS doesn't support the -D argument (ie. it's a GNU extension). The -d argument should work.

dancek commented 6 years ago

Sorry to be a lot of trouble :)

utzig commented 6 years ago

-d only creates directories, so I changed to the first suggestion of just using mkdir -p.

utzig commented 6 years ago

Done! https://github.com/utzig/lm4tools/releases/tag/v0.1.3

dancek commented 6 years ago

Thank you very much!