Skip to content

Commit

Permalink
fix: user: still more cleanup in draft template and makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Arnold <[email protected]>
  • Loading branch information
sarnold committed Jan 25, 2024
1 parent 2263669 commit efa9f5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions svd/EU_SVD.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
.. class:: title-info

Doc #00001042
Doc #00001043

.. class:: title-info

Version 0.1

.. class:: title-info

01/31/23
01/24/24

|
|
Expand Down
12 changes: 6 additions & 6 deletions svd/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# document build target (see corresponding .rst source file)
SUM = EU_SUM.pdf
SVD = EU_SVD.pdf

# just one pdf doc target for now
DOCS = $(SUM)
DOCS = $(SVD)

# figure generation engine; can use other layouts/drivers
DOT = dot

# input files
DOTSRC := $(wildcard images/*.dot)
SUMSRC = EU_SUM.rst
SVDSRC = EU_SVD.rst

#DOCTYPE = pdf
# set this to the output image format to include in the doc target
Expand All @@ -19,12 +19,12 @@ FIGTYPE = svg
FIGS := $(DOTSRC:.dot=.$(FIGTYPE))

# input files for DOC target
SOURCES_MK := $(SUMSRC) $(FIGS)
SOURCES_MK := $(SVDSRC) $(FIGS)
# stuff to clean
GENFILES := $(FIGS)

DOTFLAGS = -T$(FIGTYPE)
RSTFLAGS = -s styles/sum.yaml
RSTFLAGS = -s styles/svd.yaml
DOT_OFLAG = -o
PDF_OFLAG = -o

Expand All @@ -37,7 +37,7 @@ images/%.$(FIGTYPE) : images/%.dot
$(DOT) $< $(DOT_OFLAG) $@ $(DOTFLAGS)

# build the pdf output
$(SUM) : $(SUMSRC)
$(SVD) : $(SVDSRC)
rst2pdf $< $(RSTFLAGS) $(PDF_OFLAG) $@

all : $(DOCS)
Expand Down

0 comments on commit efa9f5a

Please sign in to comment.