~ubuntu-branches/ubuntu/vivid/proj/vivid

« back to all changes in this revision

Viewing changes to nad/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Peter S Galbraith
  • Date: 2002-01-11 10:27:12 UTC
  • Revision ID: james.westby@ubuntu.com-20020111102712-ayi18r8y2eesv0y9
Tags: upstream-4.4.5
ImportĀ upstreamĀ versionĀ 4.4.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
pkgdata_DATA = GL27 nad.lst nad27 nad83 proj_def.dat world epsg
 
2
 
 
3
EXTRA_DIST = GL27 nad.lst nad27 nad83 pj_out27.dist pj_out83.dist \
 
4
                        proj_def.dat test27 test83 world epsg
 
5
 
 
6
install-data-local:
 
7
        @if [ -f conus.lla ] ; then \
 
8
          for x in *.lla ; do \
 
9
            DEST=$(pkgdatadir)/`basename $$x .lla`; \
 
10
            echo "../src/nad2bin $$DEST < $$x"; \
 
11
            ../src/nad2bin $$DEST < $$x ; \
 
12
            if [ $$? -ne 0 ] ; then \
 
13
                echo "nad2bin failed to install $$DEST"; \
 
14
                exit 1; \
 
15
            fi; \
 
16
          done; \
 
17
        else \
 
18
          echo "nad2nad NADCON source files not present"; \
 
19
        fi 
 
20
        @if [ -f ntv1_can.dat ] ; then \
 
21
          echo $(INSTALL_DATA) ntv1_can.dat $(pkgdatadir)/ntv1_can.dat; \
 
22
          $(INSTALL_DATA) ntv1_can.dat $(pkgdatadir)/ntv1_can.dat; \
 
23
        fi
 
24
 
 
25