[Python-checkins] python/nondist/sandbox/parrotbench Makefile, 1.4,
1.5
gvanrossum at users.sourceforge.net
gvanrossum at users.sourceforge.net
Thu Jan 1 12:32:43 EST 2004
- Previous message: [Python-checkins] python/nondist/sandbox/parrotbench Makefile, 1.3,
1.4 README.txt, 1.6, 1.7 b0.py, 1.9, 1.10 b4.py, 1.4, 1.5 out0,
1.7, 1.8 out4, 1.5, 1.6
- Next message: [Python-checkins]
python/dist/src/Doc/whatsnew whatsnew24.tex, 1.22, 1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/nondist/sandbox/parrotbench
In directory sc8-pr-cvs1:/tmp/cvs-serv3974
Modified Files:
Makefile
Log Message:
More parameterizable Makefile.
Added upload target for ultra convenience.
Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Makefile 1 Jan 2004 16:48:11 -0000 1.4
--- Makefile 1 Jan 2004 17:32:36 -0000 1.5
***************
*** 1,10 ****
! PYTHON=python2.3
! DIFF=diff
! CMP=cmp
! FILES=README.txt Makefile b.py b[0-9].py t.py out out[0-9]
time:
! time $(PYTHON) -O b.py >@out
$(CMP) @out out
--- 1,16 ----
! PYTHON= python2.3
! DIFF= diff
! ECHO= echo
! TIME= time
! CMP= cmp
! SCP= scp
! RM= rm
! FILES= README.txt Makefile b.py b[0-9].py t.py out out[0-9]
! TARFILE=parrotbench.tgz
! TARGET= python.org:~ftp/pub/python/parrotbench/parrotbench.tgz
time:
! $(TIME) $(PYTHON) -O b.py >@out
$(CMP) @out out
***************
*** 17,30 ****
$(DIFF) @out out
! dist:
! tar czf parrotbench.tgz $(FILES)
clean:
! -rm -f @* *~ *.pyc *.pyo parrotbench.tgz
times:
for i in 0 1 2 3 4 5 6; do \
! echo b$$i.py; \
! time $(PYTHON) b$$i.py >@out$$i; \
$(CMP) @out$$i out$$i; \
done
--- 23,41 ----
$(DIFF) @out out
! dist: $(TARFILE)
!
! $(TARFILE): $(FILES)
! tar czf $(TARFILE) $(FILES)
!
! upload: dist
! $(SCP) $(TARFILE) $(TARGET)
clean:
! -$(RM) -f @* *~ *.pyc *.pyo $(TARFILE)
times:
for i in 0 1 2 3 4 5 6; do \
! $(ECHO) b$$i.py; \
! $(TIME) $(PYTHON) b$$i.py >@out$$i; \
$(CMP) @out$$i out$$i; \
done
***************
*** 32,36 ****
cmps:
for i in 0 1 2 3 4 5 6; do \
! echo b$$i.py; \
$(PYTHON) b$$i.py >@out$$i; \
$(CMP) @out$$i out$$i; \
--- 43,47 ----
cmps:
for i in 0 1 2 3 4 5 6; do \
! $(ECHO) b$$i.py; \
$(PYTHON) b$$i.py >@out$$i; \
$(CMP) @out$$i out$$i; \
***************
*** 39,43 ****
diffs:
for i in 0 1 2 3 4 5 6; do \
! echo b$$i.py; \
$(PYTHON) b$$i.py >@out$$i; \
$(DIFF) @out$$i out$$i; \
--- 50,54 ----
diffs:
for i in 0 1 2 3 4 5 6; do \
! $(ECHO) b$$i.py; \
$(PYTHON) b$$i.py >@out$$i; \
$(DIFF) @out$$i out$$i; \
- Previous message: [Python-checkins] python/nondist/sandbox/parrotbench Makefile, 1.3,
1.4 README.txt, 1.6, 1.7 b0.py, 1.9, 1.10 b4.py, 1.4, 1.5 out0,
1.7, 1.8 out4, 1.5, 1.6
- Next message: [Python-checkins]
python/dist/src/Doc/whatsnew whatsnew24.tex, 1.22, 1.23
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-checkins
mailing list