- Fix summary placeholders: 15 years development, 20 years professional experience - Update Makefile to accept FILE_NAME parameter for building custom resumes - Add confirmation message on successful PDF generation - Document customization workflow in CLAUDE.md with examples - Add section on creating tailored resumes from job descriptions - Include security clearance and additional details in detailed resume This enables a streamlined workflow: provide job description → Claude generates customized markdown → build PDF with: make resume FILE_NAME=paul-halvorsen-[company]-[role] Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
39 lines
918 B
Makefile
39 lines
918 B
Makefile
USER=paul
|
|
FILE_NAME?=paul-halvorsen-resume
|
|
|
|
NAME=build-paul-resume
|
|
CONTAINER_NAME=${NAME}-container
|
|
|
|
USER_ID=$(shell id -u ${USER})
|
|
GROUP_ID=$(shell id -g ${USER})
|
|
|
|
CONTAINER_EXISTS=0
|
|
ifneq ("$(shell podman images -q ${NAME} 2> /dev/null)","")
|
|
CONTAINER_EXISTS=1
|
|
endif
|
|
|
|
resume: .podman-build
|
|
podman run --rm \
|
|
--volume "$(realpath .)":/data \
|
|
--name ${CONTAINER_NAME} \
|
|
${NAME} \
|
|
${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/jb2resume.latex -o ${FILE_NAME}.pdf
|
|
@echo "✓ Generated ${FILE_NAME}.pdf"
|
|
|
|
.podman-build:
|
|
if [ ${CONTAINER_EXISTS} -ne 1 ]; then podman build -t ${NAME} . && echo "" > .podman-build; fi
|
|
|
|
cleanpaper:
|
|
rm -f ${FILE_NAME}.pdf
|
|
|
|
cleanpodman:
|
|
@echo "Cleanup files and podman"
|
|
if [ ${CONTAINER_EXISTS} -ne 0 ]; then podman image rm -f ${NAME} && rm -f .podman-build; fi
|
|
|
|
clean:
|
|
rm -f *.log
|
|
|
|
cleanall: clean cleanpaper cleanpodman
|
|
@echo "Cleanup everything"
|
|
|