refactor: rename source folder to src
This commit is contained in:
parent
c7c32a2a61
commit
6565830b90
|
@ -0,0 +1,12 @@
|
||||||
|
name: Test Beamer Theme
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: xu-cheng/latex-action@v3
|
||||||
|
with:
|
||||||
|
root_file: demo/demo.tex
|
||||||
|
- name: Compile LaTeX document
|
||||||
|
run: latexmk -pdf -interaction=nonstopmode -halt-on-error test.tex
|
6
Makefile
6
Makefile
|
@ -1,6 +1,6 @@
|
||||||
MAKEFLAGS := -j 1
|
MAKEFLAGS := -j 1
|
||||||
INS = source/beamerthememoloch.ins
|
INS = src/beamerthememoloch.ins
|
||||||
PACKAGE_SRC = $(wildcard source/*.dtx)
|
PACKAGE_SRC = $(wildcard src/*.dtx)
|
||||||
PACKAGE_STY = $(notdir $(PACKAGE_SRC:%.dtx=%.sty))
|
PACKAGE_STY = $(notdir $(PACKAGE_SRC:%.dtx=%.sty))
|
||||||
DEMO_SRC = demo/demo.tex demo/demo.bib
|
DEMO_SRC = demo/demo.tex demo/demo.bib
|
||||||
DEMO_PDF = demo/demo.pdf
|
DEMO_PDF = demo/demo.pdf
|
||||||
|
@ -15,7 +15,7 @@ DOC_DIR = $(DESTDIR)/doc/latex/moloch
|
||||||
CACHE_DIR := $(shell pwd)/.latex-cache
|
CACHE_DIR := $(shell pwd)/.latex-cache
|
||||||
|
|
||||||
COMPILE_TEX := latexmk -xelatex -output-directory=$(CACHE_DIR)
|
COMPILE_TEX := latexmk -xelatex -output-directory=$(CACHE_DIR)
|
||||||
export TEXINPUTS:=$(shell pwd):$(shell pwd)/source:${TEXINPUTS}
|
export TEXINPUTS:=$(shell pwd):$(shell pwd)/src:${TEXINPUTS}
|
||||||
|
|
||||||
DOCKER_IMAGE = latex-image
|
DOCKER_IMAGE = latex-image
|
||||||
DOCKER_CONTAINER = latex-container
|
DOCKER_CONTAINER = latex-container
|
||||||
|
|
Loading…
Reference in New Issue