Allow setting of installation destination via DESTDIR variable in Makefile
authorMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Mon, 4 Nov 2013 10:15:15 +0000 (11:15 +0100)
committerMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Mon, 4 Nov 2013 10:40:07 +0000 (11:40 +0100)
commit58cfce6c5af48748e17e390ca190f2cf5426db32
tree03d78dbe3599f6c6561b8a12f1052995877364a6
parentba305a7ca6f5d380d4cb2ead12c5bed5444b8423
Allow setting of installation destination via DESTDIR variable in Makefile

This is useful when packaging yosys, as some Linux distributions do not
allow the package management system to install files in /usr/local [1][2].

[1] https://wiki.archlinux.org/index.php/Arch_Packaging_Standards
[2] http://fedoraproject.org/wiki/Packaging:Guidelines

Signed-off-by: Martin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Makefile