Skip to content

Draft: Add a base makefile and template

Karl Kosack requested to merge include_makefile_template into main

The idea here is to avoid having to have a complex makefile for each project that uses this class (including the template).

To fix that we:

  • define a base makefile (ComputingDocument.mk) that includes all the necessary rules
  • define a Makefile.template that can be used as a Makefile in projects that include computing-latex-class, this is quite simple and only requires the user to define a few things
  • update the Docker container to have the necessary utilities (e.g. plantuml, java, etc)

Features:

  • glossary building
  • plantuml diagram building (if plantuml/ directory has files in it)

This is (lightly) inspired by the IVOA document makefiles.

Example user makefile:

DOCUMENT=my-document
SOURCES=$(DOCUMENT).tex
FIGURES=$(wildcard figures/*.pdf)
PLANTUML_DIAGRAMS=$(wildcard plantuml/*.plantuml)
BIBLIOGRAPHIES = references.bib

include computing-latex-class/ComputingDocument.mk

Merge request reports

Loading