diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -47,8 +47,10 @@ args_ebook += -M isbn="978-90-823692-0-5" all: $(flavors:%=$(stem)-%.pdf) -download: - ./mediawiki-fetch $(source_baseurl) $(source_basename) $(stem).raw +download: get-$(stem).raw + +get-$(stem).raw: get-%: + ./mediawiki-fetch $(source_baseurl) $(source_basename) $* $(stem).mw: $(stem).raw ./mediawiki-trim $< $@ |