|
|
| |
# Yes, you are correct. This is a HACK! | # Yes, you are correct. This is a HACK! |
install-exec-hook: | install-exec-hook: |
( cd @bindir@; mv zms $(cgidir) ) |
$(mkinstalldirs) $(DESTDIR)$(cgidir) |
( cd $(cgidir); chown $(webuser):$(webgroup) zms ) |
( cd $(DESTDIR)@bindir@; mv zms $(DESTDIR)$(cgidir) ) |
( cd @bindir@; chmod u+s zmfix ) |
( 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. | # 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. | # Otherwise a system limit (for SysV at least) may be exceeded. |
.NOEXPORT: | .NOEXPORT: |
|
|
| |
# Yes, you are correct. This is a HACK! | # Yes, you are correct. This is a HACK! |
install-data-hook: | install-data-hook: |
( cd $(webdir); chown $(webuser):$(webgroup) $(web_DATA) ) |
$(mkinstalldirs) $(DESTDIR)$(webdir) |
@-( cd $(webdir); if ! test -e events; then mkdir events; fi; chown $(webuser):$(webgroup) events; chmod u+w events ) |
( cd $(DESTDIR)$(webdir); chown $(webuser):$(webgroup) $(web_DATA) ) |
@-( cd $(webdir); if ! test -e images; then mkdir images; fi; chown $(webuser):$(webgroup) images; chmod u+w images ) |
@-( cd $(DESTDIR)$(webdir); if ! test -e events; then mkdir events; fi; chown $(webuser):$(webgroup) events; chmod u+w events ) |
@-( cd $(webdir); if ! test -e sounds; then mkdir sounds; fi; chown $(webuser):$(webgroup) sounds; chmod u+w sounds ) |
@-( cd $(DESTDIR)$(webdir); if ! test -e images; then mkdir images; fi; chown $(webuser):$(webgroup) images; chmod u+w images ) |
@-( cd $(webdir); if ! test -e temp; then mkdir temp; fi; chown $(webuser):$(webgroup) temp; chmod u+w temp ) |
@-( cd $(DESTDIR)$(webdir); if ! test -e sounds; then mkdir sounds; fi; chown $(webuser):$(webgroup) sounds; chmod u+w sounds ) |
-( cd $(webdir); ln -s zm.php index.php ) |
@-( 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. | # 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. | # Otherwise a system limit (for SysV at least) may be exceeded. |
.NOEXPORT: | .NOEXPORT: |