Files
resume/Makefile
paul 62e8397b57 Add multiple LaTeX resume templates with template selection system
Created:
- jb2resume-modern.latex: Improved classic template with better spacing,
  modern typography, proper bullet points, and visual hierarchy
- awesome-cv.latex: Modern, vibrant template inspired by awesome-cv with
  accent colors and contemporary design

Updated Makefile:
- Add resume-modern target for building with improved template
- Add resume-awesome target for building with awesome-cv template
- Keep classic resume target for original jb2resume template
- Add help target showing all available commands and templates
- Improved documentation with template usage examples

Updated CLAUDE.md:
- Document all three templates with descriptions
- Add template selection guide with decision tree
- Provide recommendations for different company types
- Show example usage for each template

Template Usage:
  make resume FILE_NAME=path/to/resume           # Classic jb2resume
  make resume-modern FILE_NAME=path/to/resume    # Modern improved
  make resume-awesome FILE_NAME=path/to/resume   # Awesome-CV inspired

Rebuilt all existing resumes with modern template as default,
with awesome-cv versions available for comparison.

Benefits:
- Multiple visual styles to match company culture
- Better spacing and readability in modern template
- Professional appearance with subtle or bold styling options
- All templates ATS-compatible for automated screening
- Easy to test different visual presentations

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-05 21:12:48 -05:00

86 lines
2.8 KiB
Makefile

USER=paul
FILE_NAME?=paul-halvorsen-resume
TEMPLATE?=jb2resume-modern
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
# Available templates:
# - jb2resume: Classic template (original)
# - jb2resume-modern: Improved with better spacing and typography
# - awesome-cv: Modern Awesome-CV based template
.PHONY: resume resume-modern resume-awesome help clean cleanpaper cleanpodman cleanall
resume: TEMPLATE=jb2resume
resume: .podman-build
podman run --rm \
--volume "$(realpath .)":/data \
--name ${CONTAINER_NAME} \
${NAME} \
${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/${TEMPLATE}.latex -o ${FILE_NAME}.pdf
@echo "✓ Generated ${FILE_NAME}.pdf (template: ${TEMPLATE})"
resume-modern: TEMPLATE=jb2resume-modern
resume-modern: .podman-build
podman run --rm \
--volume "$(realpath .)":/data \
--name ${CONTAINER_NAME} \
${NAME} \
${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/jb2resume-modern.latex -o ${FILE_NAME}.pdf
@echo "✓ Generated ${FILE_NAME}.pdf (template: jb2resume-modern)"
resume-awesome: TEMPLATE=awesome-cv
resume-awesome: .podman-build
podman run --rm \
--volume "$(realpath .)":/data \
--name ${CONTAINER_NAME} \
${NAME} \
${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/awesome-cv.latex -o ${FILE_NAME}.pdf
@echo "✓ Generated ${FILE_NAME}.pdf (template: awesome-cv)"
.podman-build:
if [ ${CONTAINER_EXISTS} -ne 1 ]; then podman build -t ${NAME} . && echo "" > .podman-build; fi
help:
@echo "Resume Builder - Available Commands:"
@echo ""
@echo "Default (modern template with better spacing):"
@echo " make resume FILE_NAME=path/to/resume"
@echo ""
@echo "Templates:"
@echo " make resume FILE_NAME=path/to/resume # Classic jb2resume"
@echo " make resume-modern FILE_NAME=path/to/resume # Modern improved template"
@echo " make resume-awesome FILE_NAME=path/to/resume # Awesome-CV inspired template"
@echo ""
@echo "Examples:"
@echo " make resume-modern FILE_NAME=files/paul-halvorsen-files-backend-engineer"
@echo " make resume-awesome FILE_NAME=valon/paul-halvorsen-valon-software-engineer"
@echo ""
@echo "Cleanup:"
@echo " make clean # Remove LaTeX log files"
@echo " make cleanpaper # Remove generated PDF"
@echo " make cleanpodman # Remove Podman image"
@echo " make cleanall # Remove everything"
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:
find . -name "*.log" -type f -delete
cleanall: clean cleanpaper cleanpodman
@echo "Cleanup everything"