--- utils/Makefile	Mon Jun  6 13:49:41 2005
+++ utils/Makefile	Wed Dec 28 15:33:31 2005
@@ -1,3 +1,6 @@
+include ../Makefile.config
+include ../Version.config
+
 SCRIPTS = \
 	postgis_restore.pl \
 	create_undef.pl \
@@ -8,3 +11,12 @@
 
 all:
 	chmod +x $(SCRIPTS)
+
+install:
+	@mkdir -p $(DESTDIR)$(datadir)/utils
+	$(INSTALL_DATA) README $(DESTDIR)$(datadir)/utils/README
+	$(INSTALL_DATA) create_undef.pl $(DESTDIR)$(datadir)/utils/create_undef.pl
+	$(INSTALL_DATA) postgis_restore.pl $(DESTDIR)$(datadir)/utils/postgis_restore.pl
+	$(INSTALL_DATA) profile_intersects.pl $(DESTDIR)$(datadir)/utils/profile_intersects.pl
+	$(INSTALL_DATA) test_estimation.pl $(DESTDIR)$(datadir)/utils/test_estimation.pl
+	$(INSTALL_DATA) test_joinestimation.pl $(DESTDIR)$(datadir)/utils/test_joinestimation.pl