diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2005-07-07 01:34:27 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2005-07-07 01:34:27 +0000 |
| commit | e0b9f53eecd42e6cd65414ff3d8ae71c6b9bd1a7 (patch) | |
| tree | ab1b96df7fa9a478e53b31254b06c74201a7108f | |
| parent | a9e4126af08b5d5a8f3b053b9701fa53d92c6e68 (diff) | |
| download | PROJ-e0b9f53eecd42e6cd65414ff3d8ae71c6b9bd1a7.tar.gz PROJ-e0b9f53eecd42e6cd65414ff3d8ae71c6b9bd1a7.zip | |
added logic to install all gsb files
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1300 4e78687f-474d-0410-85f9-8d5e500ac6b2
| -rw-r--r-- | nad/Makefile.am | 10 | ||||
| -rw-r--r-- | nad/Makefile.in | 12 |
2 files changed, 13 insertions, 9 deletions
diff --git a/nad/Makefile.am b/nad/Makefile.am index 55a6327e..87dfd5ae 100644 --- a/nad/Makefile.am +++ b/nad/Makefile.am @@ -19,9 +19,11 @@ install-data-local: else \ echo "nad2nad NADCON source files not present"; \ fi - @if [ -f ntv1_can.dat ] ; then \ - echo $(INSTALL_DATA) ntv1_can.dat $(DESTDIR)$(pkgdatadir)/ntv1_can.dat; \ - $(INSTALL_DATA) ntv1_can.dat $(DESTDIR)$(pkgdatadir)/ntv1_can.dat; \ - fi + @for gridfile in *.gsb ntv1_can.dat dummy ; do \ + if test "$$gridfile" != "dummy" -a -f "$$gridfile" ; then \ + echo $(INSTALL_DATA) $$gridfile $(DESTDIR)$(pkgdatadir)/$$gridfile; \ + $(INSTALL_DATA) $$gridfile $(DESTDIR)$(pkgdatadir)/$$gridfile; \ + fi; \ + done diff --git a/nad/Makefile.in b/nad/Makefile.in index 101e7646..ac3b0d80 100644 --- a/nad/Makefile.in +++ b/nad/Makefile.in @@ -151,7 +151,7 @@ target_alias = @target_alias@ pkgdata_DATA = GL27 nad.lst nad27 nad83 proj_def.dat world epsg esri EXTRA_DIST = GL27 nad.lst nad27 nad83 pj_out27.dist pj_out83.dist td_out.dist \ proj_def.dat test27 test83 world epsg esri \ - testvarious testntv2 + testvarious testntv2 ntv2_out.dist all: all-am @@ -350,10 +350,12 @@ install-data-local: else \ echo "nad2nad NADCON source files not present"; \ fi - @if [ -f ntv1_can.dat ] ; then \ - echo $(INSTALL_DATA) ntv1_can.dat $(DESTDIR)$(pkgdatadir)/ntv1_can.dat; \ - $(INSTALL_DATA) ntv1_can.dat $(DESTDIR)$(pkgdatadir)/ntv1_can.dat; \ - fi + @for gridfile in *.gsb ntv1_can.dat dummy ; do \ + if test "$$gridfile" != "dummy" -a -f "$$gridfile" ; then \ + echo $(INSTALL_DATA) $$gridfile $(DESTDIR)$(pkgdatadir)/$$gridfile; \ + $(INSTALL_DATA) $$gridfile $(DESTDIR)$(pkgdatadir)/$$gridfile; \ + fi; \ + done # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |
