22 lines
357 B
Makefile
22 lines
357 B
Makefile
|
# This isn't how you use makefiles properly, but w/e
|
||
|
|
||
|
.PHONY: help extract chapters
|
||
|
|
||
|
help:
|
||
|
echo "No help available"
|
||
|
|
||
|
extract:
|
||
|
python tools/extract.py {1..12}
|
||
|
|
||
|
chapters:
|
||
|
fd chapters.xml -x \
|
||
|
sed -i \
|
||
|
-e s/eng/ger/ \
|
||
|
-e s/und/ger/ \
|
||
|
-e s/Prolog/Intro/ \
|
||
|
-e s/OP/Opening/ \
|
||
|
-e s/Part/Teil/ \
|
||
|
-e s/ED/Ending/ \
|
||
|
-e s/Preview/Vorschau/ \
|
||
|
{}
|