latex and pdf files are optional targets, not default

This commit is contained in:
James Vasile 2011-03-09 17:24:31 -05:00
parent 15b2cb9ac4
commit 14a7a21536

View File

@ -20,13 +20,14 @@ LATEX=plinth.tex $(patsubst %.mdwn,%.tex,$(SOURCES))
PDF=plinth.pdf $(patsubst %.mdwn,%.pdf,$(SOURCES))
MAN=plinth.1
OUTPUTS=$(HTML) $(LATEX) $(MAN) $(PDF) $(HTML_PART)
## If you want PDF or Latex files, do them separately. They're not made by default.
OUTPUTS=$(HTML) $(MAN) $(HTML_PART)
DIST_OUTPUT=$(patsubst %,$(DOCDIR)/%,$(OUTPUTS))
# Yes, do it twice. TODO created during the process requires a second run
default:
make all
make all
all: oneline.txt $(OUTPUTS) Makefile
$(DOCDIR)/%: %