From 34678a8b9889964c727f3e2726730c05611b900e Mon Sep 17 00:00:00 2001 From: Matt Rasmussen Date: Sat, 14 Sep 2013 21:20:24 -0700 Subject: [PATCH] small doc and make cleanups --- Makefile | 13 ++++++------- examples/example-analysis.sh | 2 +- test/test_codequality.py | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 529a9704..f0286f94 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ PKG=$(DIST)/$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_DIR=$(DIST)/$(PKG_NAME)-$(PKG_VERSION) # program files -SCRIPTS = +SCRIPTS = bin/* PROGS = bin/arg-sample BINARIES = $(PROGS) $(SCRIPTS) @@ -109,6 +109,8 @@ LIBARGWEAVER_OBJS = $(ARGWEAVER_OBJS) #============================================================================= # targets +.PHONY: all pkg test cq install clean cleanobj lib pylib + # default targets all: $(PROGS) $(LIBARGWEAVER) $(LIBARGWEAVER_SHARED) @@ -132,20 +134,17 @@ $(LIBARGWEAVER_SHARED): $(LIBARGWEAVER_OBJS) #----------------------------- # packaging -pkg: - mkdir -p $(DIST) - git archive --format=tar --prefix=$(PKG_NAME)-$(PKG_VERSION)/ HEAD | \ - gzip > $(PKG) +pkg: $(PKG) $(PKG): mkdir -p $(DIST) - git archive --format=tar --prefix=$(PKG_NAME)-$(PKG_VERSION)/ | \ + git archive --format=tar --prefix=$(PKG_NAME)-$(PKG_VERSION)/ HEAD | \ gzip > $(PKG) #----------------------------- # testing -testing: +test: nosetests -v test cq: diff --git a/examples/example-analysis.sh b/examples/example-analysis.sh index 30398109..d494e1f7 100644 --- a/examples/example-analysis.sh +++ b/examples/example-analysis.sh @@ -8,7 +8,7 @@ # commands work. # # For documentation on all of ARGweaver's file formats, see -# doc/dlcoal_manual.html +# doc/argweaver_manual.html # #============================================================================= diff --git a/test/test_codequality.py b/test/test_codequality.py index d714779a..868d3fbf 100644 --- a/test/test_codequality.py +++ b/test/test_codequality.py @@ -149,9 +149,9 @@ def test_pep8(): raise Exception() -def _test_arghmm(): +def test_arghmm(): """ - See if argweaver is used anywhere within the code. + See if arghmm is used anywhere within the code. """ def key(line):