aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--nad/makefile.vc10
-rw-r--r--nmake.opt8
3 files changed, 14 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 804e430a..88d187cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-07 Frank Warmerdam <warmerdam@pobox.com>
+
+ * nmake.opt, nad/makefile.vc: Make sure we use PROJ_LIB_DIR when
+ installing nad directory support files on windows.
+
2008-07-28 IGNF <didier.richard@ign.fr>
* PJ_glabsgm.c : refactoring for better understanding of the projection's
diff --git a/nad/makefile.vc b/nad/makefile.vc
index c17e2497..a87bb387 100644
--- a/nad/makefile.vc
+++ b/nad/makefile.vc
@@ -23,12 +23,12 @@ clean:
-for %f in ( $(OLD_GRIDS) ) do del %f
install-nadgrids:
- for %f in ( $(OLD_GRIDS) ) do copy %f $(INSTDIR)\share
+ for %f in ( $(OLD_GRIDS) ) do copy %f $(PROJ_LIB_DIR)
install-all:
-mkdir $(INSTDIR)
- -mkdir $(INSTDIR)\share
- for %f in ( $(OTHER_FILES) ) do copy %f $(INSTDIR)\share
+ -mkdir $(PROJ_LIB_DIR)
+ for %f in ( $(OTHER_FILES) ) do copy %f $(PROJ_LIB_DIR)
if exist conus $(MAKE) /f makefile.vc install-nadgrids
- -copy *.gsb $(INSTDIR)\share
- -copy ntv1_can.dat $(INSTDIR)\share
+ -copy *.gsb $(PROJ_LIB_DIR)
+ -copy ntv1_can.dat $(PROJ_LIB_DIR)
diff --git a/nmake.opt b/nmake.opt
index 33c6eb18..69626d7f 100644
--- a/nmake.opt
+++ b/nmake.opt
@@ -1,3 +1,6 @@
+# Directory tree where PROJ will be installed.
+INSTDIR=C:\PROJ
+
#
# Set the following to the directory where the PROJ distribution
# data files (ie, the contents of ..\NAD). The following assumes
@@ -5,10 +8,7 @@
# be adjusted. It is also possible to leave this, and define the
# PROJ_LIB environment variable to point to the NAD directory.
#
-PROJ_LIB_DIR=C:/PROJ/SHARE
-
-# Directory tree where PROJ will be installed.
-INSTDIR=C:\PROJ
+PROJ_LIB_DIR=$(INSTDIR)/SHARE
# Uncomment the first for an optimized build, or the second for debug.
OPTFLAGS= /nologo /Ox /MD