Skip to content

Conversation

@milhnl
Copy link

@milhnl milhnl commented Nov 27, 2016

Standard prefix is /usr/local. This makes it easier for me to install it (I always override this variable for my home folder) and is also more standard.
See https://www.gnu.org/prep/standards/standards.html#Directory-Variables

Standard prefix is /usr/local. This makes it easier for me to install it (I always override this variable for my home folder) and is also more standard.
See https://www.gnu.org/prep/standards/standards.html#Directory-Variables
@embray
Copy link

embray commented May 9, 2018

I just made the exact same patch manually. This checks out.

CFLAGS := -std=c99 -Wall -pedantic -Wextra -Werror ${CFLAGS}
LDLIBS = -ljansson
INSTALL=install
DESTDIR?=/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While at it, it might be good to make DESTDIR default to empty. Otherwise you wind up with paths beginning with // which at best is ugly, and at worst breaks on some platforms (Cygwin).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants