~jan0sch/darcs-book

Showing details for patch 63eefacee4f3a4f37ec37c563c31b44ab27e14de.
2020-08-17 (Mon), 2:22 PM - - 63eefacee4f3a4f37ec37c563c31b44ab27e14de

Update Makefile to make recompilation a bit more comfortable

Summary of changes
1 files modified with 10 lines added and 10 lines removed
  • Makefile with 10 added and 10 removed lines
diff -rN -u old-darcs-book/Makefile new-darcs-book/Makefile
--- old-darcs-book/Makefile	2024-11-23 12:47:03.505444755 +0000
+++ new-darcs-book/Makefile	2024-11-23 12:47:03.505444755 +0000
@@ -22,34 +22,34 @@
 dist/css/book.css: dist
 	cp html/book.css dist/css/book.css
 
-dist/index.html: dist
+dist/index.html: en/index.md dist
 	pandoc -s --css css/book.css --template html/template.html -f markdown -t html en/index.md -o dist/index.html
 
-dist/chapter01.html: dist
+dist/chapter01.html: en/01-introduction.md dist
 	${PANDOC} en/01-introduction.md -o dist/chapter01.html
 
-dist/chapter02.html: dist
+dist/chapter02.html: en/02-getting-started.md dist
 	${PANDOC} en/02-getting-started.md -o dist/chapter02.html
 
-dist/chapter03.html: dist
+dist/chapter03.html: en/03-working-locally.md dist
 	${PANDOC} en/03-working-locally.md -o dist/chapter03.html
 
-dist/chapter04.html: dist
+dist/chapter04.html: en/04-happy-little-accidents.md dist
 	${PANDOC} en/04-happy-little-accidents.md -o dist/chapter04.html
 
-dist/chapter05.html: dist
+dist/chapter05.html: en/05-a-little-help-from-my-friends.md dist
 	${PANDOC} en/05-a-little-help-from-my-friends.md -o dist/chapter05.html
 
-dist/chapter06.html: dist
+dist/chapter06.html: en/06-conflict-management.md dist
 	${PANDOC} en/06-conflict-management.md -o dist/chapter06.html
 
-dist/chapter07.html: dist
+dist/chapter07.html: en/07-dependencies-and-good-patches.md dist
 	${PANDOC} en/07-dependencies-and-good-patches.md -o dist/chapter07.html
 
-dist/chapter08.html: dist
+dist/chapter08.html: en/08-rewriting-history.md dist
 	${PANDOC} en/08-rewriting-history.md -o dist/chapter08.html
 
-dist/chapter09.html: dist
+dist/chapter09.html: en/09-tag-youre-it.md dist
 	${PANDOC} en/09-tag-youre-it.md -o dist/chapter09.html
 
 clean: