[postgis-devel] [PATCH] Alternate location for /etc/default/postgis
Carlos Valiente
superdupont at gmail.com
Wed Feb 28 07:34:38 PST 2007
Hi! What about installing extras/template_gis/profile as
$(prefix)/etc/default/postgis, instead of as /etc/default/postgis?
That would be much more convenient for people installing PostGIS as
non-root users:
Index: extras/template_gis/Makefile
===================================================================
--- extras/template_gis/Makefile (revision 2595)
+++ extras/template_gis/Makefile (working copy)
@@ -31,7 +31,7 @@
MAN1_INSTALL=$(INSTALL_DATA) $(MAN1) $(MAN1_TARGET)
MAN1_UNINSTALL=rm -f $(MAN1_TARGET)
-DEFAULTS_DIR=$(DESTDIR)/etc/default
+DEFAULTS_DIR=$(DESTDIR)$(prefix)/etc/default
SCRIPT_DEFAULTS=$(DEFAULTS_DIR)/postgis
all: $(SCRIPTS_IN)
More information about the postgis-devel
mailing list