Tidied up reconfiguration in core/base/SSL

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23843 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2006-10-11 01:10:38 +00:00
parent 4ede6185bb
commit a3c61af23b
2 changed files with 20 additions and 4 deletions

View file

@ -1,3 +1,13 @@
2006-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
* SSL/Makefile.postamble (after-distclean): Remove all configure
generated files.
(config.mak): Run config.status, not ../config.status.
($(GNUSTEP_TARGET_DIR)/config.h): Run config.status first. Do not
try to move config.h into a target specific dir if the target dir
is '.'.
(config.status): New rule to recreate it.
2006-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/Additions/Makefile.preamble (ADDITIONAL_INCLUDE_DIRS):

View file

@ -67,7 +67,7 @@
# Things to do after distcleaning
after-distclean::
rm -rf $(GNUSTEP_TARGET_DIR)/config.h
rm -rf $(GNUSTEP_TARGET_DIR)/config.h config.status config.log config.cache TAGS config.mak config.h
# Things to do before checking
# before-check::
@ -75,14 +75,20 @@ after-distclean::
# Things to do after checking
# after-check::
config.mak: config.mak.in
./configure
config.mak: config.mak.in config.status
./config.status
#
# The config.h file is specific to a target
#
$(GNUSTEP_TARGET_DIR)/config.h: ../config.status
$(GNUSTEP_TARGET_DIR)/config.h: config.status
./config.status
ifneq ($(GNUSTEP_TARGET_DIR), .)
$(MKDIRS) $(GNUSTEP_TARGET_DIR)
-mv config.h $(GNUSTEP_TARGET_DIR)
-touch $(GNUSTEP_TARGET_DIR)/config.h
endif
# Run configure manually if you need to pass any options
config.status:
./configure