HS_SOURCES=hs/DBus/Client.hs all: $(HS_SOURCES) %.tex: %.nw noweave -delay "$<" | cpif "$@" hs/%.hs: dbus-client.nw hs/DBus notangle -R"$*.hs" "$<" | cpif "$@" hs/DBus: mkdir -p hs/DBus %.pdf: %.tex xelatex "$<" xelatex "$<" pdfs: dbus-client.pdf manual.pdf