Index: tools/altperl/Makefile
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/Makefile,v
retrieving revision 1.15
diff -c -r1.15 Makefile
*** tools/altperl/Makefile	6 Dec 2006 18:37:58 -0000	1.15
--- tools/altperl/Makefile	15 Dec 2006 16:20:24 -0000
***************
*** 26,31 ****
--- 26,32 ----
  		tmpname=`echo $$file | $(SED) "s#\.p[lm]##"` && \
  		$(SED) -e "s#@@PERL@@#$(PERL)#;" \
                         -e "s#@@SYSCONFDIR@@#$(sysconfdir)#;" \
+                        -e "s#@@PGSHAREDIR@@#$(pgsharedir)#;" \
                         -e "s#@@PGLIBDIR@@#$(pglibdir)#;" \
                         -e "s#@@PGBINDIR@@#$(pgbindir)#;" \
                         -e "s#@@SLONBINDIR@@#$(slonbindir)#;" \
***************
*** 36,46 ****
  	done
  endif
  
! install: installdirs
  ifndef toolsbin
  	@echo "The altperl tools won't be installed unless --with-perltools is specified in configure"
  else
! 	$(INSTALL_DATA)   slon_tools.conf-sample $(DESTDIR)$(sysconfdir)
  	$(INSTALL_DATA)   slon-tools             $(DESTDIR)$(perlsharedir)/slon-tools.pm
  	for file in $(wildcard *.pl) ; do \
  		tmpname=`echo $$file | $(SED) "s#\.pl##"` && \
--- 37,47 ----
  	done
  endif
  
! install: all installdirs
  ifndef toolsbin
  	@echo "The altperl tools won't be installed unless --with-perltools is specified in configure"
  else
! 	$(INSTALL_DATA)   slon_tools.conf-sample $(DESTDIR)$(pgsharedir)
  	$(INSTALL_DATA)   slon-tools             $(DESTDIR)$(perlsharedir)/slon-tools.pm
  	for file in $(wildcard *.pl) ; do \
  		tmpname=`echo $$file | $(SED) "s#\.pl##"` && \
