01org/numatop — pull request #1 by anyc (2013-04-22 16:56:01+00:00)
Title: patched Makefile to honor predefined standard variables

Please apply the attached commit to patch Makefile. Afterwards, it uses standard variable names as explained in the following documents:

http://www.gnu.org/prep/standards/html_node/Directory-Variables.html#Directory-Variables
http://www.gnu.org/prep/standards/html_node/DESTDIR.html#DESTDIR

and only sets the variables to the value in the Makefile, if they are not previously set. Additionally, the install commands will create the necessary directories if they do not exist.

The changes enable Gentoo Linux users to set their own flags as everyone compiles their applications from source here (fyi, in this case with https://github.com/anyc/anyc-overlay/blob/master/sys-process/numatop/numatop-1.0.ebuild). Thank you!