# # This should probably be more like cake was before: suitable for # remote compilation. But currently that is not needed # DEBUG = yes include ${SEPINC}/SEP.top wrk = /scr/matt scripts = septexexpand.pl tour.csh tour.cake.csh Tour.csh Tour.cake.csh Figstat.pl Resstat.pl Grepper.pl Wastestat.pl Execstat.pl makecake.pl makemake.pl cake2make.pl logmail.pl copytree.pl texpr.csh book2html.pl book2web.pl paper2html.pl report2web.pl Makefile all: $(foreach script,$(scripts),$(shell install $(script) $(addprefix /usr/local/bin/,$(basename $(script))))) word = /usr/local/src/our/word/Adm/Src cmd1 = rsh oas ${INSTALL} ${word}/$^ ${OBINDIR}/$* cmd2 = rsh spur ${INSTALL} ${word}/$^ ${OBINDIR}/$* cmd3 = rsh robson ${INSTALL} ${word}/$^ ${OBINDIR}/$* %: %.pl ${cmd1} ${cmd2} ${cmd3} %: %.csh ${cmd1} ${cmd2} ${cmd3} www: rcp ${scripts} /ftpdisk/ftp/pub/scripts cd ..; tar cvf ${wrk}/scripts.tar $(addprefix ./Src/,${scripts}) gzip ${wrk}/scripts.tar; cp ${wrk}/scripts.tar.gz /ftpdisk/ftp/pub/scripts include ${SEPINC}/SEP.bottom