Show help if we don't have any args, Gentoo #198380.

This commit is contained in:
Roy Marples
2007-11-14 16:19:56 +00:00
parent a8f4032d29
commit 69a040bf85
2 changed files with 10 additions and 5 deletions

View File

@@ -95,9 +95,7 @@ CPPFLAGS += -DLIB=\"$(LIB)\"
# IMPORTANT!!!
# Ensure that we don't ship with a .svn directory to avoid RPATH security
# issues. However, this does ease development a little
_SVN_LDFLAGS_SH = if test -d .svn; then echo "-Wl,-rpath ."; else echo ""; fi
_SVN_LDFLAGS != $(_SVN_LDFLAGS_SH)
LDFLAGS += $(_SVN_LDFLAGS)$(shell $(_SVN_LDFLAGS_SH))
LDFLAGS += -Wl,-rpath .
# Load an optional OS Makefile
_OS_SH = u=`uname -s`; case "$${u}" in *BSD|DragonFly) echo "BSD";; *) echo "$${u}";; esac