aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-14 22:27:38 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-04-14 22:27:38 +0100
commit0d468bf8336f8f82be835e36b2ccaaa3afab5665 (patch)
treeec62398b81dadceb0160b286e9acd770af21de79
parentd23ebc549577697cdd1a274f492399b8413df967 (diff)
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.
-rw-r--r--reproduce/analysis/make/initialize.mk9
1 files changed, 6 insertions, 3 deletions
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