mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Fixed rule for config.make and print a friendly error if the target/library-combo one can not be found
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23554 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3ea1b33f75
commit
fbae9c1783
2 changed files with 17 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-09-19 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* rules.make (config.make): Fixed syntax error in conditional that
|
||||
was causing the rule for config.make to be never read.
|
||||
Implemented an actual rule for it that prints an error and exits
|
||||
if the file can't be find.
|
||||
|
||||
2006-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
Separated out global config from platform-specific config.
|
||||
|
|
12
rules.make
12
rules.make
|
@ -542,8 +542,16 @@ endif
|
|||
|
||||
$(GNUSTEP_MAKEFILES)/*.make: ;
|
||||
|
||||
ifeq ($(GNUSTEP_FLATTENED)), )
|
||||
$(GNUSTEP_MAKEFILES)/$(GNUSTEP_TARGET_DIR)/$(LIBRARY_COMBO)/config.make: ;
|
||||
ifeq ($(GNUSTEP_FLATTENED),)
|
||||
# If this file can't be found, we can't load the config for that
|
||||
# library combo / target, so we can't do anything. We print an
|
||||
# error and exit.
|
||||
$(GNUSTEP_MAKEFILES)/$(GNUSTEP_TARGET_DIR)/$(LIBRARY_COMBO)/config.make:
|
||||
$(ECHO_NOTHING)\
|
||||
echo "Error - can not find configuration for '$(GNUSTEP_TARGET_DIR)/$(LIBRARY_COMBO)'"; \
|
||||
echo "Please configure, make and make install gnustep-make again using"; \
|
||||
echo "./configure --with-library-combo=$(LIBRARY_COMBO)"; \
|
||||
exit 1$(END_ECHO)
|
||||
endif
|
||||
|
||||
$(GNUSTEP_MAKEFILES)/Additional/*.make: ;
|
||||
|
|
Loading…
Reference in a new issue