Skip to content

Commit

Permalink
Update Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Søe Sørensen committed Dec 24, 2011
1 parent a2f51b1 commit 437cb0a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
@@ -1,7 +1,12 @@
all: OOP.html
all: Introduction.html DataStructures.html OOP.html OOP-overview.html Test.html

clean:
rm *.html || true

%.html: %.asciidoc
asciidoc $<


# Requires Linux's 'inotify-tools':
watch-inotify:
inotifywait -m . | egrep --line-buffered 'CLOSE.*\.asciidoc$$' | tee /dev/stderr | while read x ; do echo "Updating..." ; ${MAKE} -s >/dev/null; echo -n "Updated " ; date ; done

0 comments on commit 437cb0a

Please sign in to comment.