diff options
Diffstat (limited to 'doc/paper/Makefile')
-rw-r--r-- | doc/paper/Makefile | 58 |
1 files changed, 3 insertions, 55 deletions
diff --git a/doc/paper/Makefile b/doc/paper/Makefile index 8f83d1d..702d7c7 100644 --- a/doc/paper/Makefile +++ b/doc/paper/Makefile @@ -19,18 +19,6 @@ LATEX=$(shell which pdflatex) export LATEX # -# The bibtex compiler -# -BIBTEXC=$(shell which bibtex) -export BIBTEXC - -# -# The glossary compiler -# -GLOSSARY=$(shell which makeglossaries) -export GLOSSARY - -# # The output command # ECHO_CMD=$(shell which echo) @@ -109,36 +97,11 @@ LATEX_SUB_SOURCES:=$(shell find src -iname '*.tex') AUX_FILE=main.aux # -# Bibtex sources -# -BIBTEX_SOURCE=bibtex.bib - -# -# Bibliography file -# -BBL_FILE=main.bbl - -# # .ist file # IST_FILE=main.ist # -# Glossary file -# -GLO_FILE=main.glo - -# -# Sorted/processed glossaries file -# -GLS_FILE=main.gls - -# -# The glossary source -# -GLOSSARY_SOURCE=./main - -# # Destination of the log from the make files # MAKELOG=make.log @@ -200,7 +163,7 @@ all: $(PDF_FILE) # Testing task. Not meant to produce a pdf but to check for flaws in the source # files # -test one_time: $(AUX_FILE) $(BBL_FILE) $(GLS_FILE) +test one_time: $(AUX_FILE) @@ -228,28 +191,13 @@ $(AUX_FILE): $(LATEX_MAIN_SOURCE) $(LATEX_SUB_SOURCES) gen_tex # # "Generate" .ist and .glo file simply by depending on the auxilary file # -$(IST_FILE) $(GLO_FILE): $(AUX_FILE) +$(IST_FILE): $(AUX_FILE) # -# Generate bibliography -# -$(BBL_FILE): $(AUX_FILE) $(BIBTEX_SOURCE) - @$(ECHO) "\t[BIBTEXC]" - @$(BIBTEXC) $< >> $(MAKELOG) - - -# -# Generate glossaries -# -$(GLS_FILE): $(GLO_FILE) $(IST_FILE) - @$(ECHO) "\t[GLOSSARY]" - @$(GLOSSARY) $(basename $(LATEX_MAIN_SOURCE)) >> $(MAKELOG) - -# # Generate the PDF TODO: use stamp file and [[ -nt ]] or [[ -ot ]] (maybe in script) # -$(PDF_FILE): $(AUX_FILE) $(BBL_FILE) $(GLS_FILE) +$(PDF_FILE): $(AUX_FILE) @$(ECHO) "\t[LATEX]" @$(LATEX) $(LATEX_FLAGS) $(LATEX_MAIN_SOURCE) >> $(MAKELOG) |