Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
pbienst committed Jul 17, 2007
1 parent 2bc2b6b commit 3319fa0
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
6 changes: 5 additions & 1 deletion camfrversion.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
camfr_version = "1.3 RC1 20070621"
camfr_version = "20070717"

if __name__ == "__main__":
print camfr_version

3 changes: 2 additions & 1 deletion docs/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ html:

clean:
rm -f *~ *.aux *.cp *.cps *.dvi *.fn *.ky *.log *.pdf *.pg *.toc \
*.tp *.vr *.html
*.tp *.vr *.html *.ps

22 changes: 21 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
camfr: FORCE
scons
python setup.py build

install:
python setup.py install

test: FORCE
cd testsuite
make

distrib:
rm -f *.tgz Exclude
cd docs ; make pdf
rm -f -r dist ../camfr_dist camfr_dist camfr_*
mkdir ../camfr_dist
cp -r * ../camfr_dist
mv ../camfr_dist .
cd camfr_dist ; make clean
rm -r camfr_dist/docs/*
cp docs/camfr.pdf camfr_dist/docs
V=`python camfrversion.py` && mv camfr_dist camfr_$${V}
V=`python camfrversion.py` && find camfr_$${V} -type d -print | egrep '/,|%$$|~$$|CVS|build' > Exclude
V=`python camfrversion.py` && find camfr_$${V} ! -type d -print | egrep '/,|%$$|\#|~$$|dblite|pyc|\.old$$|/core$$|\.orig$$' >> Exclude
V=`python camfrversion.py` && tar cvfzX camfr_$${V}.tgz Exclude camfr_$${V}
V=`python camfrversion.py` && rm -r camfr_$${V}
rm -f Exclude

FORCE:

clean:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def run(self):

import os

os.system("cd docs; make")
#os.system("cd docs; make")

os.system("scons")
os.system(strip_command)
Expand Down

0 comments on commit 3319fa0

Please sign in to comment.