Fixed printing the right 'make' command in help message

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27978 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2009-02-25 12:47:15 +00:00
parent ff6601ded2
commit c23bf486fe
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2009-02-25 Nicola Pero <nicola.pero@meta-innovation.com>
* common.make: When printing "This is gnustep-make 2.0.9. Type
'make print-gnustep-make-help' for help.", make sure we replace
'make' with whatever command was used to invoke GNU make (eg, on
OpenBSD it is often gmake instead of make). Issue reported by
Sebastian Reitenbach <buzzdee@web.de>.
2009-02-25 Nicola Pero <nicola.pero@meta-innovation.com>
* Documentation/README.Packaging (GETTING HELP): New section.

View file

@ -771,11 +771,13 @@ unexport GNUSTEP_TYPE
ifeq ($(_GNUSTEP_TOP_INVOCATION_DONE),)
# Print out a message with our version number and how to get help on
# targets and options.
# targets and options. We use $(notdir $(MAKE)) to print the command
# that was used to invoke us; this is usually 'make' but it often is
# 'gmake' on *BSD systems.
ifeq ($(MAKE_WITH_INFO_FUNCTION),yes)
# Use 'make quiet=yes' to disable the message
ifneq ($(quiet),yes)
$(info This is gnustep-make $(GNUSTEP_MAKE_VERSION). Type 'make print-gnustep-make-help' for help.)
$(info This is gnustep-make $(GNUSTEP_MAKE_VERSION). Type '$(notdir $(MAKE)) print-gnustep-make-help' for help.)
ifeq ($(GNUSTEP_MAKE_STRICT_V2_MODE),yes)
$(info Running in gnustep-make version 2 strict mode.)
endif