Makefile 818 B
# webpage update
RDIR = teuben@apus:/apus1/nemo/local/www/amnh
EXPORT = partiview*html partiview.ps partiview.sgml partiview.txt \
partiview2.ps
help:
@echo all: ps html
@echo export: copy EXPORT to RDIR
@echo ""
@echo EXPORT=$(EXPORT)
@echo RDIR=$(RDIR)
.PHONY: txt ps html
all: txt ps html
txt:
sgml2txt partiview.sgml
ps:
sgml2latex partiview.sgml
dvips partiview -o
gzip -c partiview.ps > partiview.ps.gz
rm partiview.dvi
# need psutils for pnsup (prints 2 pages on 1)
ps2: ps
psnup -2 partiview.ps > partiview2.ps
html:
sgml2html partiview.sgml
clean:
rm -f core *~ partiview.dvi partiview.ps
cleanall: clean
rm -f partiview*.html partiview.txt partiview.ps.gz
# merely to update the webpage (only useful for teuben right now)
export:
scp -C $(EXPORT) $(RDIR)