Skip to content

Commit 88a9b24

Browse files
committed
optimizing book build process
1 parent 7ee77d2 commit 88a9b24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ prod: run
1616

1717

1818
bookbuild:
19-
mkdir tempcontent
20-
cp -R content/pages tempcontent/pages
21-
rm -rf tempcontent/pages/examples
19+
mkdir -p tempcontent/pages
20+
cp -R content/pages/0* tempcontent/pages
21+
cp -R content/pages/meta tempcontent/pages
2222
python transform_book.py pdf
2323
pelican -t theme -s book_settings.py -o generated/book tempcontent
2424
cp -R static-html/* generated/book/

0 commit comments

Comments
 (0)