vdudouyt / stm8flash

program your stm8 devices with SWIM/stlinkv(1,2)
GNU General Public License v2.0
403 stars 183 forks source link

Fix install in sandboxed environments #39

Closed udda closed 7 years ago

udda commented 8 years ago

In sandboxed build systems (eg. Gentoo's Portage), make install fails because $(DESTDIR)/usr/bin does not exists. The directory should be assumed not existing and be created unconditionally.

udda commented 8 years ago

Hi! I had to make this little change to Makefile in order to be able to install stm8flash in Gentoo through Portage. It is a harmless change for everyone who didn't need it, but it could be useful for install in sandboxed environments, such as Gentoo default package manager.

udda commented 8 years ago

Hello I synced recent commits. Please consider merging these trivial changes: