Adding more install rules.

This commit is contained in:
Harry Moffat
2009-03-24 21:45:50 +00:00
parent ac624aafb1
commit 219d9b6293
11 changed files with 133 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/flames
PY_DEMOS = flame1 flame2 stflame1 npflame1 free_h2_air \
adiabatic_flame flame_fixed_T
PYTHON_CMD = @PYTHON_CMD@
@@ -22,6 +24,15 @@ test:
(cd $${py} ; @MAKE@ test ) \
done)
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@(for py in $(PY_DEMOS) ; do \
echo "running $${py}..."; \
(cd $${py} ; @MAKE@ install ) \
done)
clean:
@(for py in $(PY_DEMOS) ; do \
echo "running $${py}..."; \

View File

@@ -1,5 +1,7 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/flames/adiabatic_flame
PYTHON_CMD = @PYTHON_CMD@
run:
@@ -7,6 +9,17 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r adiabatic_flame.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r adiabatic_flame_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup

View File

@@ -1,5 +1,8 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/flames/flame1
PYTHON_CMD = @PYTHON_CMD@
run:
@@ -7,6 +10,19 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r flame1.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r flame1_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup

View File

@@ -1,5 +1,7 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/flames/flame2
PYTHON_CMD = @PYTHON_CMD@
run:
@@ -7,6 +9,17 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r flame2.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r flame2_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup

View File

@@ -1,5 +1,8 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/flames/flame_fixed_T
PYTHON_CMD = @PYTHON_CMD@
run:
@@ -7,6 +10,17 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r flame_fixed_T.py $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r tdata.dat $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r flame_fixed_T_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup

View File

@@ -1,5 +1,7 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/flames/free_h2_air
PYTHON_CMD = @PYTHON_CMD@
run:
@@ -7,8 +9,18 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r free_h2_air.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r freeflame1_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
rm -f *.log output_0.txt freeflame1.csv freeflame1.xml
./cleanup
# end of file

View File

@@ -1,5 +1,7 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/flames/npflame1
PYTHON_CMD = @PYTHON_CMD@
run:
@@ -7,8 +9,17 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r npflame1.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r npflame1_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup
# end of file

View File

@@ -1,5 +1,7 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/flames/stflame1
PYTHON_CMD = @PYTHON_CMD@
run:
@@ -7,8 +9,17 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r stflame1.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r stflame1_1_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup
# end of file

View File

@@ -1,5 +1,7 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/fuel_cells
PYTHON_CMD = @PYTHON_CMD@
run:
@@ -7,6 +9,17 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r sofc.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r sofc_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup

View File

@@ -1,6 +1,6 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/fuel_cells
INST_DIR=@ct_demodir@/python/kinetics
PYTHON_CMD = @PYTHON_CMD@
@@ -13,11 +13,10 @@ test:
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r sofc.py $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r ratecoeffs.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r sofc_blessed_0.csv $(INST_DIR)
clean:

View File

@@ -1,5 +1,8 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/transport
PYTHON_CMD = @PYTHON_CMD@
all
@@ -10,6 +13,17 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r dustgas.py $(INST_DIR)
@INSTALL@ -c runtest $(INST_DIR)
@INSTALL@ -c cleanup $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
clean:
./cleanup