#======================================================================= # Makefile for maintaining files in the tree # ftp://ftp.math.utah.edu/pub/bibnet # # [09-May-1996] #======================================================================= AWK = nawk HTML-NCHECK = /usr/local/bin/html-ncheck RM = /bin/rm -f SED = sed SHELL = /bin/sh # List of subdirectories which contain .bib files that we want # translated to HTML form and validated: SUBDIRS = authors subjects #======================================================================= .SUFFIXES: .SUFFIXES: .html .bib .bib.html: $(AWK) -f ../tex/bib/bibtex-to-html.awk $< $(HTML-NCHECK) $*.html #======================================================================= all: html-files html-files: for d in $(SUBDIRS) ; \ do \ $(MAKE) `find $$d -name '*.bib' -print | $(SED) -e 's/[.]bib/.html/g'` ; \ done clean mostlyclean: -$(RM) *.i -$(RM) *.o -$(RM) *~ -$(RM) \#* -$(RM) a.out -$(RM) core clobber distclean: clean maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." .