1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/databases/postgis/files/patch-doc-Makefile.in
Wen Heping 037fe5524f - Update to 1.5.0
PR:		ports/144378
Submitted by:	Anderson Soares Ferreira <anderson@cnpm.embrapa.br> (maintainer)
2010-03-26 03:00:34 +00:00

41 lines
1.3 KiB
Plaintext

--- 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