diff --git a/.gitignore b/.gitignore index 85e8d01..4ee987c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +out/ +*.tar.gz + *~ *.xref *.lg diff --git a/build-html-docker.sh b/build-html-docker.sh index 9ae39ab..d733cf3 100755 --- a/build-html-docker.sh +++ b/build-html-docker.sh @@ -3,7 +3,10 @@ cd /source # Script to build an HTML site from the PDF source -pdf2htmlEX --embed cfijo --dest-dir /source/out /source/DPSResume.pdf +pdf2htmlEX --embed cfijo --dest-dir out DPSResume.pdf +chown -R root:root out +chmod -R 666 out -tar -czvf ResumeSite.tar.gz out/* -chmod 777 *.tar.gz +tar -czvf ResumeSite.tar.gz -C out . +chmod 666 *.tar.gz +#rm -rf out diff --git a/build-html.sh b/build-html.sh index 75d38d4..2cae282 100755 --- a/build-html.sh +++ b/build-html.sh @@ -2,5 +2,3 @@ # Script to build an HTML site from the PDF source docker run -d -v $(pwd):/source sothr/pdf2htmlex /usr/bin/env bash /source/build-html-docker.sh - -tar -czvf ResumeSite.tar.gz out/* diff --git a/build-pdf-docker.sh b/build-pdf-docker.sh index ff829de..971eb5b 100755 --- a/build-pdf-docker.sh +++ b/build-pdf-docker.sh @@ -4,4 +4,5 @@ cd /source # Script to build a PDF from the latex source latex --output-format pdf DPSResume.tex -chmod 777 DPSResume.pdf +chmod 666 DPSResume.pdf +rm DPSResume.log