Updating the make file to use podman and resume headers

This commit is contained in:
2025-08-25 15:15:20 -04:00
parent b5d7cacd88
commit 3e41fd0ac2
6 changed files with 15 additions and 21 deletions

View File

@@ -13,14 +13,11 @@ ifneq ("$(shell podman images -q ${NAME} 2> /dev/null)","")
endif
resume: .podman-build
podman run -it \
podman run --rm \
--volume "$(realpath .)":/data \
--user ${USER_ID}:${GROUP_ID} \
--name ${CONTAINER_NAME} \
${NAME} \
pandoc ${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/jb2resume.latex -o ${FILE_NAME}.pdf \
; podman stop ${CONTAINER_NAME} \
&& podman rm ${CONTAINER_NAME}
${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/jb2resume.latex -o ${FILE_NAME}.pdf
.podman-build:
if [ ${CONTAINER_EXISTS} -ne 1 ]; then podman build -t ${NAME} . && echo "" > .podman-build; fi