From 0d468bf8336f8f82be835e36b2ccaaa3afab5665 Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Tue, 14 Apr 2020 22:27:38 +0100 Subject: Corrected package distribution step and not including BibLaTeX packages I was using some special Bash feature before to ignore the distribution directory itself when copying the files, but that had some problems, so I just used a simple for loop over a `find' command to ignore it. Also, for now, we don't need BibLaTeX sources in the project (that is primarily for arXiv), so to help the referee see a more cleaner contents of this supplement file. --- reproduce/analysis/make/initialize.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'reproduce/analysis') diff --git a/reproduce/analysis/make/initialize.mk b/reproduce/analysis/make/initialize.mk index 29afbfe..3213700 100644 --- a/reproduce/analysis/make/initialize.mk +++ b/reproduce/analysis/make/initialize.mk @@ -299,7 +299,10 @@ $(packagecontents): paper.pdf | $(texdir) cp -r tex/src $$dir/tex/src cp tex/tikz/*.pdf $$dir/tex/tikz cp -r reproduce/* $$dir/reproduce - cp -r tex/build/!(paper-v*) $$dir/tex/build + for d in $$(find tex/build/ -mindepth 1 -maxdepth 1 -type d \ + ! -name $(packagebasename)); do + cp -r $$d $$dir/tex/build + done # Clean up un-necessary/local files: 1) the $(texdir)/build* # directories (when building in a group structure, there will be @@ -325,8 +328,8 @@ $(packagecontents): paper.pdf | $(texdir) # that may cause problems on the arXiv server. cp tex/build/build/paper.bbl $$dir/ tltopdir=.local/texlive/maneage/texmf-dist/tex/latex - find $$tltopdir/biblatex/ -maxdepth 1 -type f -print0 \ - | xargs -0 cp -t $$dir + #find $$tltopdir/biblatex/ -maxdepth 1 -type f -print0 \ + # | xargs -0 cp -t $$dir # Just in case the package users want to rebuild some of the # figures (manually un-comment the `makepdf' command we commented -- cgit v1.2.1