[postgis-devel] [PostGIS] #1528: docs-install uses bare cp

PostGIS trac at osgeo.org
Wed Feb 1 17:13:43 PST 2012


#1528: docs-install uses bare cp
---------------------+------------------------------------------------------
 Reporter:  gdt      |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  low      |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 It should use INSTALL_DATA.  Because docs/Makefile.in doesn't use pgxs, we
 have to substitute it from configure.  (Line numbers in 2nd hunk won't
 match, because I extracted hunks to avoid including other pending
 changes.)

 {{{
 Index: doc/Makefile.in
 ===================================================================
 --- doc/Makefile.in     (revision 9010)
 +++ doc/Makefile.in     (working copy)
 @@ -15,2 +15,5 @@

 +INSTALL=@INSTALL@
 +INSTALL_DATA=@INSTALL_DATA@
 +
  XSLTPROC=@XSLTPROC@
 @@ -162,6 +170,6 @@
         mkdir -p $(DESTDIR)$(PGSQL_MANDIR)/man1
 -       cp html/postgis.html
 $(DESTDIR)$(PGSQL_DOCDIR)/postgis/postgis.html
 -       cp ../README.postgis
 $(DESTDIR)$(PGSQL_DOCDIR)/postgis/README.postgis
 -       cp man/pgsql2shp.1 $(DESTDIR)$(PGSQL_MANDIR)/man1/pgsql2shp.1
 -       cp man/shp2pgsql.1 $(DESTDIR)$(PGSQL_MANDIR)/man1/shp2pgsql.1
 +       $(INSTALL_DATA) html/postgis.html
 $(DESTDIR)$(PGSQL_DOCDIR)/postgis/postgis.html
 +       $(INSTALL_DATA) ../README.postgis
 $(DESTDIR)$(PGSQL_DOCDIR)/postgis/README.postgis
 +       $(INSTALL_DATA) man/pgsql2shp.1
 $(DESTDIR)$(PGSQL_MANDIR)/man1/pgsql2shp.1
 +       $(INSTALL_DATA) man/shp2pgsql.1
 $(DESTDIR)$(PGSQL_MANDIR)/man1/shp2pgsql.1

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1528>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list