-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
26 lines (25 loc) · 1.55 KB
/
Makefile
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
#
# Run 'make' to create some test PDFs.
# This Makefile does not build the binaries.
# Use the go tools for building.
#
all:
mkdir -p test-output
go run gocalendar/gocalendar.go -spread 1 -yearA -o test-output/test-example_ao1.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 2 -yearA -o test-output/test-example_ao2.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 3 -yearA -o test-output/test-example_ao3.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 4 -yearA -o test-output/test-example_ao4.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 6 -yearA -o test-output/test-example_ao6.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 12 -yearA -o test-output/test-example_ao12.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 1 -yearB -o test-output/test-example_bo1.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 2 -yearB -o test-output/test-example_bo2.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 3 -yearB -o test-output/test-example_bo3.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 4 -yearB -o test-output/test-example_bo4.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 6 -yearB -o test-output/test-example_bo6.pdf -lang de_DE 2021
go run gocalendar/gocalendar.go -spread 12 -yearB -o test-output/test-example_bo12.pdf -lang de_DE 2021
man:
cat README.md | \
sed -n '8,9999p' | \
awk ' /^#/ { print toupper($$0)}; !/^#/{ print $$0} ' > gocalendar_temp.md
go-md2man -in gocalendar_temp.md -out gocalendar.man
rm gocalendar_temp.md