[Python-checkins] python/nondist/sandbox/ast Makefile,1.5,1.6 setup.py,1.3,1.4

jhylton@sourceforge.net jhylton@sourceforge.net
2002年4月16日 16:40:11 -0700


Update of /cvsroot/python/python/nondist/sandbox/ast
In directory usw-pr-cvs1:/tmp/cvs-serv949
Modified Files:
	Makefile setup.py 
Log Message:
Add test target to Makefile.
Remove import test from setup.py.
Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Makefile	16 Apr 2002 04:00:04 -0000	1.5
--- Makefile	16 Apr 2002 23:40:09 -0000	1.6
***************
*** 1,11 ****
 PYINCLUDE=/usr/local/include/python2.3
 
 ast.so: astmodule.c setup.py Python-ast.c python.asdl asdl.c asdl.h
 	python setup.py build_ext -i
 
 Python-ast.o: Python-ast.c python.asdl
! 	gcc -c -pedantic -Wall -I$(PYINCLUDE) -o Python-ast.o Python-ast.c
 
 Python-ast.c: python.asdl asdl_c.py
 	python asdl_c.py python.asdl
 
--- 1,19 ----
 PYINCLUDE=/usr/local/include/python2.3
 
+ test: ast.so
+ 	python test.py
+ 
 ast.so: astmodule.c setup.py Python-ast.c python.asdl asdl.c asdl.h
 	python setup.py build_ext -i
 
 Python-ast.o: Python-ast.c python.asdl
! 	gcc -g -c -pedantic -Wall -I$(PYINCLUDE) -o Python-ast.o Python-ast.c
 
 Python-ast.c: python.asdl asdl_c.py
 	python asdl_c.py python.asdl
 
+ clean:
+ 	rm Python-ast.c
+ 	rm Python-ast.h
+ 	rm ast.so
+ 	rm -rf build
Index: setup.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/ast/setup.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** setup.py	16 Apr 2002 03:58:33 -0000	1.3
--- setup.py	16 Apr 2002 23:40:09 -0000	1.4
***************
*** 8,11 ****
 ext_modules=[ast])
 
- import test
- 
--- 8,9 ----

AltStyle によって変換されたページ (->オリジナル) /