Made code to install timezone files more robust

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17096 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-07-04 10:09:00 +00:00
parent 2a99982e1a
commit 4720dd6604
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Fri Jul 4 11:09:37 2003 Nicola Pero <n.pero@mi.flashnet.it>
* NSTimeZones/Makefile.postamble: Make the code more robust by
adding rule to create the installation dirs.
2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistantObject.m: Avoid recursion fetching method signature.

View file

@ -45,7 +45,15 @@
# before-install::
# Things to do after installing
after-install::
# This directory is created by NSCharacterSets/GNUmakefile, but in
# case the order is somewhat messed up and that GNUmakefile has not
# been executed, we include here rules to create the directory if it's
# not there yet.
$(resourcedir):
$(MKINSTALLDIRS) $(resourcedir)
after-install:: $(resourcedir)
cp $(TIMEZONE_ARCHIVE) $(resourcedir); \
cd $(resourcedir); \
if [ -f NSTimeZones/localtime ]; then \