From 022bb0f9ff947094085b94d783b2bdfd569fb15f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 22 Oct 2021 19:29:23 +0200 Subject: [PATCH] handle header correctly, i.e. do not only expand on macro --- .build/header_info.txt | 7 +++++++ Makefile | 6 +++++- PyTeX | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .build/header_info.txt diff --git a/.build/header_info.txt b/.build/header_info.txt new file mode 100644 index 0000000..2b6390e --- /dev/null +++ b/.build/header_info.txt @@ -0,0 +1,7 @@ +This LaTeX {latex_file_type} is free software and distributed under the MIT License. You +may use it freely for your purposes. The latest version of the {latex_file_type} can be +obtained via GitHub under + https://github.com/kesslermaximilian/LatexPackages +For further information see the url above. +Reportings of bugs, suggestions and improvements are welcome, see the README +at the Git repository for further information. diff --git a/Makefile b/Makefile index dcf91a4..f3d5239 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,11 @@ .PHONY: build +BUILD_FLAGS=--source-dir src --build-dir build --recursive --git-version --pytex-version --license --author "Maximilian Keßler" --pytex-info-text --extra-header ".build/header_info.txt" --name "prepend-author" build: .initsubmodulelock - @python3 build.py + @python3 build.py ${BUILD_FLAGS} + +dirty: .initsubmodulelock + @python3 build.py ${BUILD_FLAGS} --allow-dirty init: .initsubmodulelock .gitconfiglock diff --git a/PyTeX b/PyTeX index 12a03e7..126d420 160000 --- a/PyTeX +++ b/PyTeX @@ -1 +1 @@ -Subproject commit 12a03e79897dfc4cf3de218ed88ba7c56debfcad +Subproject commit 126d420b7a6ed2d4b2a42d534ab2e12344869643