From 264d80e4cd228556b968bff72805f83768858daf Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 18 Mar 2023 21:55:45 +0300 Subject: [PATCH] now a correct list of dependencies is generated for use with texlive and others (fixed) Signed-off-by: Alex A. Naanou --- .github/workflows/make-dist.yml | 2 +- Makefile | 2 +- photobook.cls | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/make-dist.yml b/.github/workflows/make-dist.yml index 87c991f..8224c2e 100644 --- a/.github/workflows/make-dist.yml +++ b/.github/workflows/make-dist.yml @@ -18,7 +18,7 @@ jobs: uses: xu-cheng/texlive-action/full@v1 with: run: | - apk add make git zip + apk add make git zip grep git config --global --add safe.directory '*' echo "VERSION=$(make version)" >> $GITHUB_ENV # XXX not sure about this... diff --git a/Makefile b/Makefile index 78e5438..7bebae3 100644 --- a/Makefile +++ b/Makefile @@ -246,7 +246,7 @@ LN := cp -l # DEPENDS.txt: $(MODULE).cls cat $< \ - | grep -Pzo '\n\s*\\RequirePackage(\[[^]]*\])?\{[^}]*\}' \ + | egrep -zo '\s*\\RequirePackage(\[[^]]*\])?\{[^}]*\}' \ | sed 's/.*{\(.*\)}/hard \1\n/' \ | grep -a hard \ > $@ diff --git a/photobook.cls b/photobook.cls index fb8cb30..0ade3c4 100644 --- a/photobook.cls +++ b/photobook.cls @@ -76,7 +76,7 @@ %%% NOTE: \def\@[A-Z]+ macros will be visible to both the %%% code and the generated docs... -\edef\photobook@FILEVERSION{v0.1.14} +\edef\photobook@FILEVERSION{v0.1.15} \edef\photobook@FILEDATE{2023-03-18}