#5445 closed defect (fixed)

README.postgis fails to install

Reported by: sebastic Owned by: strk
Priority: medium Milestone: PostGIS 3.4.0
Component: build Version: master
Keywords: Cc: sebastic

Description

The Debian package build for 3.4.0-beta1 failed to build:

/usr/bin/install: cannot create regular file '/build/postgis-3.4.0~beta1+dfsg/debian/tmp/usr/share/doc/postgis/README.postgis': No such file or directory

The directory needs to be created before installing the file:

--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -538,6 +538,7 @@ html-assets-uninstall: images-install
        rm -f $(DESTDIR)$(htmldir)/style.css

 docs-install: html-install html-assets-install
+       mkdir -p $(DESTDIR)$(PGSQL_DOCDIR)/postgis
        $(INSTALL_DATA) ../README.postgis $(DESTDIR)$(PGSQL_DOCDIR)/postgis/README.postgis

 docs-uninstall: html-uninstall html-assets-uninstall

Change History (1)

comment:1 by Sandro Santilli <strk@…>, 17 months ago

Resolution: fixed
Status: newclosed

In 613ed3f/git:

Fix README.postgis install

Patch by Bas Cowenberg
Closes #5445

Note: See TracTickets for help on using tickets.