all: install install: install_local install_website: cd ../; tar -cvzf stubmail/stubmail.tgz \ stubmail/lib/Stubmail.pm \ stubmail/bin/http2mbox2 \ stubmail/bin/smtp2stub \ stubmail/cgi/post_manager \ stubmail/Makefile \ stubmail/README \ stubmail/docs/*; cd stubmail rsync -rv --rsh=ssh . stubmail@sam.julianhaight.com:htdocs/stubmail/ install_smaug: rsync -rv --rsh=ssh cgi/* root@smaug.julianhaight.com:/srv/www/cgi-bin/stubmail rsync -v --rsh=ssh lib/Stubmail.pm root@smaug.julianhaight.com:/usr/lib/perl5/site_perl install_local_jah: scp lib/Stubmail.pm root@localhost:/usr/lib/perl5/site_perl/ scp bin/http2mbox2 root@localhost:/usr/local/bin scp bin/smtp2stub root@localhost:/usr/local/bin install_local: cp lib/Stubmail.pm /usr/lib/perl5/site_perl/ cp bin/http2mbox2 /usr/local/bin cp bin/smtp2stub /usr/local/bin # TOTAL HACK by mengwong 20060716 install_osx: cp lib/Stubmail.pm /Library/Perl/ cp bin/http2mbox2 /usr/local/bin/ cp bin/smtp2stub /usr/local/bin/ # to install, meng also did: # 20060718-13:15:13 root@newyears:~/src/stubmail# mkdir /var/spool/stubmail # 20060718-13:15:14 root@newyears:~/src/stubmail# chown mengwong /var/spool/stubmail; chmod a+rwxt /var/spool/stubmail # # set up ScriptAlias /stubmail/ /Users/mengwong/Sites/stubmail/ in httpd.conf # set up perms in httpd/users/mengwong.conf