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
 .PHONY: dogfood test $(TESTS) clean dist-test dist
6
 .PHONY: dogfood test $(TESTS) clean dist-test dist
7
 
7
 
8
 dogfood:
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
 test: $(TESTS)
13
 test: $(TESTS)
14
 
14
 
15
 $(TESTS):
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
 clean:
23
 clean:
24
 	rm -f cdiff MANIFEST
24
 	rm -f cdiff MANIFEST