-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (28 loc) · 940 Bytes
/
Makefile
File metadata and controls
33 lines (28 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Makefile for PDF book exporter tools
# Contains utilities for the PDF export system
.PHONY: help clean install diagnostics
# Default target
help:
@echo "PDF Book Exporter - Available targets:"
@echo " install - Install required dependencies"
@echo " diagnostics - Run system diagnostics for emoji support"
@echo " clean - Clean generated files"
@echo ""
@echo "Usage: python cli.py [book_directory] -o [output.pdf] [options]"
@echo "Run 'python cli.py --help' for more information"
# Install dependencies
install:
@echo "Installing PDF export dependencies..."
@chmod +x install_pdf_dependencies.sh
@./install_pdf_dependencies.sh
# Run system diagnostics
diagnostics:
@echo "Running PDF export diagnostics..."
@python3 cli.py --diagnostics .
# Clean generated files
clean:
@echo "Cleaning generated files..."
@rm -f *.pdf
@rm -f emoji-font-config.tex
@rm -rf test-output
@echo "Clean complete."