X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=Makefile;h=7c0aafad6dafac980a26997bb73cc453f12a516e;hb=5c43c57af9556b638343b1712a2ac885225cb8ce;hp=32dee291590bdc14bf5d3e2c6bf1184aab75a311;hpb=0fbf73b50cb88d7f66c58385a17ec2aa9392a017;p=blog.git diff --git a/Makefile b/Makefile index 32dee29..7c0aafa 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,14 @@ # Build everything necessary to compile the wiki. -SUBDIRS = posts/drexel-thesis posts/Hooke posts/problempack posts/rel-vcs \ - posts/sawsim posts/Thesis posts/yacc2dot posts/Xmodmap \ +SUBDIRS = posts/drexel-thesis posts/problempack \ + posts/rel-vcs posts/sawsim posts/Thesis posts/yacc2dot posts/Xmodmap \ posts/XSLT/chapter posts/XSLT/code TARGETS = all clean -all : +all : make-all +clean : make-clean -$(TARGETS) : +$(TARGETS:%=make-%) : @for i in $(SUBDIRS); do \ - echo "make $@ in $$i..."; \ - (cd $$i; $(MAKE) $(MFLAGS) $@); done + echo "make ${@:make-%=%} in $$i..."; \ + (cd $$i; $(MAKE) $(MFLAGS) ${@:make-%=%}); done