Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |