From d3fea9205870cd404c3b3dca8b60edfcd7e4c206 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Fri, 4 Apr 2003 01:16:34 +0000 Subject: [PATCH] Added needed Makefile. --- doc/jsspp/Makefile | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 doc/jsspp/Makefile diff --git a/doc/jsspp/Makefile b/doc/jsspp/Makefile new file mode 100644 index 00000000000..bf9fd7217de --- /dev/null +++ b/doc/jsspp/Makefile @@ -0,0 +1,56 @@ +# The following comments are to remind me how the automatic variables work: +# $@ - target +# $% - target member +# $< - First prerequisite +# $? - All (newer) prerequisites +# $^ - All prerequisites +# $+ - $^ but with repetitions +# $* - $* stem of pattern (for "foo.c" in %.c:%.o this would be "foo") +# 'info "GNU make"': "Using variables": "Automatic" also lists a few more. + +REPORT = jsspp + +TEX = ../common/llnlCoverPage.tex $(REPORT).tex + +FIGDIR = ../figures +FIGS = $(FIGDIR)/allocate-init.eps \ + $(FIGDIR)/arch.eps \ + $(FIGDIR)/connections.eps \ + $(FIGDIR)/entities.eps \ + $(FIGDIR)/interactive-job-init.eps \ + $(FIGDIR)/queued-job-init.eps \ + $(FIGDIR)/slurm-arch.eps + +PLOTS = $(FIGDIR)/times.eps + +BIB = ../common/project.bib + +%.eps: %.dia + dia --nosplash -e $@ $< +%.eps: %.gpl + gnuplot $< +%.eps: %.fig + fig2dev -Lps $< $@ +%.eps: %.obj + tgif -print -eps $< +%.ps: %.dvi + dvips -K -t letter -o $(@F) $(<F) +%.pdf: %.dvi + dvipdf $< $@ + +all: $(REPORT).ps + + +$(REPORT).dvi: $(TEX) $(FIGS) $(PLOTS) $(BIB) + rm -f *.log *.aux *.blg *.bbl + (TEXINPUTS=.:../common::; export TEXINPUTS; \ + BIBINPUTS=$$TEXINPUTS ; export BIBINPUTS; \ + latex $(REPORT); bibtex $(REPORT); latex $(REPORT) \ + latex $(REPORT) ) + +view: $(REPORT).ps + ghostview $(REPORT) & + +clean: + rm -f *~ *.dvi *.log *.aux $(REPORT).ps *.blg *.bbl #*.eps #*.gif *.ps + -- GitLab