--- zm-0.9.12/src/Makefile.in 2003-06-09 09:18:22.000000000 +0100 +++ zm-0.9.12-2/src/Makefile.in 2003-06-11 23:02:50.000000000 +0100 @@ -522,9 +522,10 @@ # Yes, you are correct. This is a HACK! install-exec-hook: - ( cd @bindir@; mv zms $(cgidir) ) - ( cd $(cgidir); chown $(webuser):$(webgroup) zms ) - ( cd @bindir@; chmod u+s zmfix ) + $(mkinstalldirs) $(DESTDIR)$(cgidir) + ( cd $(DESTDIR)@bindir@; mv zms $(DESTDIR)$(cgidir) ) + ( cd $(DESTDIR)$(cgidir); chown $(webuser):$(webgroup) zms ) + ( cd $(DESTDIR)@bindir@; chmod u+s zmfix ) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: --- zm-0.9.12/web/Makefile.in 2003-06-09 09:18:23.000000000 +0100 +++ zm-0.9.12-2/web/Makefile.in 2003-06-11 23:03:16.000000000 +0100 @@ -286,12 +286,13 @@ # Yes, you are correct. This is a HACK! install-data-hook: - ( cd $(webdir); chown $(webuser):$(webgroup) $(web_DATA) ) - @-( cd $(webdir); if ! test -e events; then mkdir events; fi; chown $(webuser):$(webgroup) events; chmod u+w events ) - @-( cd $(webdir); if ! test -e images; then mkdir images; fi; chown $(webuser):$(webgroup) images; chmod u+w images ) - @-( cd $(webdir); if ! test -e sounds; then mkdir sounds; fi; chown $(webuser):$(webgroup) sounds; chmod u+w sounds ) - @-( cd $(webdir); if ! test -e temp; then mkdir temp; fi; chown $(webuser):$(webgroup) temp; chmod u+w temp ) - -( cd $(webdir); ln -s zm.php index.php ) + $(mkinstalldirs) $(DESTDIR)$(webdir) + ( cd $(DESTDIR)$(webdir); chown $(webuser):$(webgroup) $(web_DATA) ) + @-( cd $(DESTDIR)$(webdir); if ! test -e events; then mkdir events; fi; chown $(webuser):$(webgroup) events; chmod u+w events ) + @-( cd $(DESTDIR)$(webdir); if ! test -e images; then mkdir images; fi; chown $(webuser):$(webgroup) images; chmod u+w images ) + @-( cd $(DESTDIR)$(webdir); if ! test -e sounds; then mkdir sounds; fi; chown $(webuser):$(webgroup) sounds; chmod u+w sounds ) + @-( cd $(DESTDIR)$(webdir); if ! test -e temp; then mkdir temp; fi; chown $(webuser):$(webgroup) temp; chmod u+w temp ) + -( cd $(DESTDIR)$(webdir); ln -s zm.php index.php ) # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: