]> granicus.if.org Git - postgis/commitdiff
Do not override install/uninstall/clean targets from PGXS (#3284)
authorSandro Santilli <strk@keybit.net>
Tue, 29 Sep 2015 11:12:36 +0000 (11:12 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 29 Sep 2015 11:12:36 +0000 (11:12 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14125 b70326c6-7e19-0410-871a-916f4a2858ee

utils/Makefile.in

index 323e28d450e02030313fe8fd0cc197a5eae7f2f5..4404b51901b8e426e6c339967298606aa90df9a1 100644 (file)
@@ -28,8 +28,9 @@ include $(PGXS)
 SHELL = @SHELL@
 INSTALL = $(SHELL) ../install-sh
 
+SCRIPTS_built = postgis_restore.pl
+
 SCRIPTS = \
-       postgis_restore.pl \
        create_undef.pl \
        svn_repo_revision.pl \
        postgis_proc_upgrade.pl \
@@ -72,18 +73,6 @@ update-restore:
 postgis_restore.pl: postgis_restore.pl.in
        sed 's,@SRID_MAXIMUM@,$(SRID_MAXIMUM),g;s,@SRID_USER_MAXIMUM@,$(SRID_USER_MAXIMUM),' $< >$@
 
-installdir:
-       @mkdir -p "$(DESTDIR)$(datadir)/$(MODULEDIR)"
-
-uninstall: 
-       @rm -f "$(DESTDIR)$(datadir)/$(MODULEDIR)/postgis_restore.pl"
-
-install: installdir 
-       $(LIBTOOL) --mode=install $(INSTALL) postgis_restore.pl "$(DESTDIR)$(datadir)/$(MODULEDIR)/postgis_restore.pl"
-
-clean:
-       rm -f postgis_restore.pl
-
 distclean: clean
        rm -f Makefile