I am currently writing a CGI script that I store in a subversion tree built on a remote machine. There are a bunch of other related files on the subversion tree, but only a few CGI scripts. I currently edit the script with TRAMP and then have to manually cp
it to the cgi-bin
directory when it's ready for testing (which includes opening the CGI link in a browser).
How can I best automate this process? I'm half considering a small Makefile that can be kicked off by Emacs. I'm also considering an Emacs macro since Emacs is running locally it could probably actually open a new Firefox tab for me after pushing the file.