BUILD: respect DESTDIR variable #1

Merged
merged 1 commit into from Sep 26, 2013

2 participants

@hasufell

DESTDIR is used for temporary install location
in package managers otherwise you have to add
the temporary locations to BINDIR and LIBDIR
which can cause trouble with the pkg-config file.

The adding of .PHONY caused a silent regression for us, we can just sed it out, but respecting DESTDIR variable will allow a better solution.
see https://bugs.gentoo.org/show_bug.cgi?id=477948

Also: make does not take care of whitespaces in $(VAR)

hasufell BUILD: respect DESTDIR variable
DESTDIR is used for temporary install location
in package managers otherwise you have to add
the temporary locations to BINDIR and LIBDIR
which can cause trouble with the pkg-config file.
094647c
@nigels-com nigels-com merged commit 094647c into nigels-com:master Sep 26, 2013
@nigels-com
Owner

Merged, thanks!

  • Nigel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment