Browse Source

Fix make targets for issue #8

Matthew Wang 11 years ago
parent
commit
762ae388e5
1 changed files with 9 additions and 9 deletions
  1. 9
    9
      Makefile

+ 9
- 9
Makefile View File

@@ -6,19 +6,19 @@ TESTPYPI = http://testpypi.python.org/pypi
6 6
 .PHONY: dogfood test $(TESTS) clean dist-test dist
7 7
 
8 8
 dogfood:
9
-	src/cdiff.py -s
10
-	git diff | src/cdiff.py
11
-	git diff | src/cdiff.py -s
9
+	./cdiff.py -s
10
+	git diff | ./cdiff.py
11
+	git diff | ./cdiff.py -s
12 12
 
13 13
 test: $(TESTS)
14 14
 
15 15
 $(TESTS):
16
-	src/cdiff.py tests/$@.diff
17
-	src/cdiff.py tests/$@.diff -s
18
-	src/cdiff.py tests/$@.diff | diff -u tests/$@.diff -
19
-	python3 src/cdiff.py tests/$@.diff
20
-	python3 src/cdiff.py tests/$@.diff -s
21
-	python3 src/cdiff.py tests/$@.diff | diff -u tests/$@.diff -
16
+	python2 ./cdiff.py tests/$@.diff
17
+	python2 ./cdiff.py tests/$@.diff -s
18
+	python2 ./cdiff.py tests/$@.diff | diff -u tests/$@.diff -
19
+	python3 ./cdiff.py tests/$@.diff
20
+	python3 ./cdiff.py tests/$@.diff -s
21
+	python3 ./cdiff.py tests/$@.diff | diff -u tests/$@.diff -
22 22
 
23 23
 clean:
24 24
 	rm -f cdiff MANIFEST