SUBDIRS=libtcp common parte1 parte2 .PHONY: clean all: readme.html readme.pdf @set fnord $(MAKEFLAGS); amf=$$2; target=$@ ; \ dot_seen=no; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; clean: @set fnord $(MAKEFLAGS); amf=$$2; target=$@ ; \ dot_seen=no; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; doc: readme.html readme.pdf docclean: rm -f readme.html readme.pdf rm readme.html readme.pdf readme.html: README rst2html README > readme.html readme.latex: README rst2latex README > readme.latex readme.pdf: readme.latex pdflatex readme.latex pdflatex readme.latex rm -f readme.aux readme.latex readme.log readme.out