rm -f README advent.6 MANIFEST *.tar.gz
rm -f *~
rm -f .*~
+ rm -rf coverage advent.info
cd tests; $(MAKE) --quiet clean
check: advent cheat
cd tests; $(MAKE) --quiet
+coverage: debug cheat
+ cd tests; $(MAKE) coverage --quiet
+
.SUFFIXES: .adoc .html .6
# Requires asciidoc and xsltproc/docbook stylesheets.
debug: linty
debug: cheat
-coverage: debug check
- lcov -t "advent" -o advent.info -c -d .
- genhtml -o coverage/ advent.info
@-advent -x 2>/dev/null # Get usage message into coverage tests
@-advent -l /dev/null <pitfall.log >/dev/null
+coverage: check
+ lcov -t "advent" -o ../advent.info -c -d ..
+ genhtml -o ../coverage/ ../advent.info
+
.SUFFIXES: .chk
clean: