summaryrefslogtreecommitdiff
path: root/databases/postgis/files/patch-doc__Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgis/files/patch-doc__Makefile.in')
-rw-r--r--databases/postgis/files/patch-doc__Makefile.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/databases/postgis/files/patch-doc__Makefile.in b/databases/postgis/files/patch-doc__Makefile.in
new file mode 100644
index 000000000000..796fced2d04c
--- /dev/null
+++ b/databases/postgis/files/patch-doc__Makefile.in
@@ -0,0 +1,40 @@
+--- doc/Makefile.in.orig 2010-01-11 23:00:56.000000000 -0200
++++ doc/Makefile.in 2010-02-28 17:04:05.000000000 -0300
+@@ -111,14 +111,14 @@
+ doxygen $<
+
+ images:
+- make -C html/image_src images
++
+
+ clean:
+- make -C html/image_src clean
++ gmake -C html/image_src clean
+ @rm -f postgis-out.xml postgis_aggs_mm.xml
+
+ maintainer-clean: clean
+- make -C html/image_src clean
++ gmake -C html/image_src clean
+ @rm -f html/*.html \
+ postgis-${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}.${POSTGIS_MICRO_VERSION}.pdf
+
+@@ -131,12 +131,13 @@
+ rm -f $(PGSQL_SHAREDIR)/contrib/postgis_comments.sql
+
+ install: html/postgis.html man/shp2pgsql.1 man/pgsql2shp.1
+- @mkdir -p $(PGSQL_DOCDIR)/postgis
+- @mkdir -p $(PGSQL_MANDIR)/man1
+- cp html/postgis.html $(PGSQL_DOCDIR)/postgis/postgis.html
+- cp ../README.postgis $(PGSQL_DOCDIR)/postgis/README.postgis
+- cp man/pgsql2shp.1 $(PGSQL_MANDIR)/man1/pgsql2shp.1
+- cp man/shp2pgsql.1 $(PGSQL_MANDIR)/man1/shp2pgsql.1
++ @mkdir -p $(DOCSDIR)
++ @mkdir -p $(PREFIX)/man/man1
++ cp html/postgis.html $(DOCSDIR)/postgis.html
++ cp ../README.postgis $(DOCSDIR)/README.postgis
++ cp man/pgsql2shp.1 $(PREFIX)/man/man1/pgsql2shp.1
++ cp man/shp2pgsql.1 $(PREFIX)/man/man1/shp2pgsql.1
++ gmake -C html/image_src install
+
+ uninstall:
+ rm -f $(PGSQL_DOCDIR)/postgis/postgis.html