mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
New rule for removing header links
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10508 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
549d220812
commit
b4e07bc024
1 changed files with 7 additions and 3 deletions
|
@ -68,13 +68,11 @@ before-install:: $(INSTALL_ROOT_DIR)$(GNUSTEP_MAKEFILES)/Additional
|
|||
# before-distclean::
|
||||
|
||||
# Things to do after distcleaning
|
||||
after-distclean::
|
||||
after-distclean:: remove-header-links
|
||||
rm -f config.status config.log config.cache TAGS config.mak base.make
|
||||
rm -f Headers/gnustep/base/config.h \
|
||||
Headers/gnustep/base/GSConfig.h \
|
||||
Headers/gnustep/base/preface.h
|
||||
-cd Headers; rm -f Foundation
|
||||
-cd Source; rm -f Foundation
|
||||
|
||||
# Things to do before checking
|
||||
# before-check::
|
||||
|
@ -82,17 +80,23 @@ after-distclean::
|
|||
# Things to do after checking
|
||||
# after-check::
|
||||
|
||||
.PHONY: header-links remove-header-links
|
||||
|
||||
ifeq ($(GNUSTEP_TARGET_OS), mingw32)
|
||||
header-links: $(HEADER_LINK_DEPENDS)
|
||||
-rm -rf Headers/Foundation
|
||||
-mkdir Headers/Foundation
|
||||
cp -f Headers/gnustep/base/*.h Headers/Foundation
|
||||
remove-header-links:
|
||||
-rm -rf Headers/Foundation
|
||||
|
||||
else
|
||||
header-links: $(HEADER_LINK_DEPENDS)
|
||||
-rm -f Headers/Foundation
|
||||
-rm -f Source/Foundation
|
||||
$(LN_S) gnustep/base Headers/Foundation
|
||||
remove-header-links:
|
||||
-rm -f Headers/Foundation
|
||||
endif
|
||||
|
||||
configure: configure.in
|
||||
|
|
Loading…
Reference in a new issue