summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-01 12:48:51 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-01 12:48:52 +0100
commit860889b731b6f529b352d7b38865099072ea064c (patch)
tree2db9a5886272b5ae88a387257bd614f0e10ce8ef
parent3b6eac124c2c2810d47afd5abb312849b8bb1726 (diff)
Remove glossary/bibliography setup
This is not required here, glossaries are not used and bibliography is inside the main.tex file. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--doc/paper/Makefile58
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)