diff --git a/Cantera/python/examples/reactors/Makefile.in b/Cantera/python/examples/reactors/Makefile.in index 0d55ff8aa..dfa3fa372 100644 --- a/Cantera/python/examples/reactors/Makefile.in +++ b/Cantera/python/examples/reactors/Makefile.in @@ -1,30 +1,43 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors + PY_DEMOS = combustor_sim functors_sim mix1_sim mix2_sim piston_sim reactor1_sim \ - reactor2_sim sensitivity_sim surf_pfr_sim + reactor2_sim sensitivity_sim surf_pfr_sim all: @(for py in $(PY_DEMOS) ; do \ echo "running $${py}..."; \ - (cd "$${py}"; @MAKE@ ) ; \ + (cd "$${py}"; @MAKE@ ) ; \ done) run: @(for py in $(PY_DEMOS) ; do \ echo "running $${py}..."; \ - (cd "$${py}"; @MAKE@ run ) ; \ + (cd "$${py}"; @MAKE@ run ) ; \ done) test: @(for py in $(PY_DEMOS) ; do \ echo "testing $${py}..."; \ - (cd "$${py}"; @MAKE@ 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 "installing $${py}..."; \ + (cd "$${py}"; @MAKE@ install ) ; \ + done) + + + + clean: @(for py in $(PY_DEMOS) ; do \ echo "testing $${py}..."; \ - (cd "$${py}"; @MAKE@ clean ) ; \ + (cd "$${py}"; @MAKE@ clean ) ; \ done) rm -f *.log *.csv *.xml diff --git a/Cantera/python/examples/reactors/combustor_sim/Makefile.in b/Cantera/python/examples/reactors/combustor_sim/Makefile.in index bcabcd285..97c365bac 100644 --- a/Cantera/python/examples/reactors/combustor_sim/Makefile.in +++ b/Cantera/python/examples/reactors/combustor_sim/Makefile.in @@ -1,5 +1,7 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors/combustor_sim + PYTHON_CMD = @PYTHON_CMD@ all: @@ -10,6 +12,15 @@ 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 combustor.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 combustor_blessed_0.csv $(INST_DIR) + clean: rm -f *.log *.csv *.xml ./cleanup diff --git a/Cantera/python/examples/reactors/functors_sim/Makefile.in b/Cantera/python/examples/reactors/functors_sim/Makefile.in index d538d070a..0af64e27a 100644 --- a/Cantera/python/examples/reactors/functors_sim/Makefile.in +++ b/Cantera/python/examples/reactors/functors_sim/Makefile.in @@ -1,5 +1,7 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors/functors_sim + PYTHON_CMD = @PYTHON_CMD@ all: @@ -9,8 +11,15 @@ run: test: ./runtest + +install: + @INSTALL@ -d $(INST_DIR) + @INSTALL@ -c -m ug+rw,o+r functors.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: - rm -f *.log *.csv *.xml ./cleanup # end of file diff --git a/Cantera/python/examples/reactors/mix1_sim/Makefile.in b/Cantera/python/examples/reactors/mix1_sim/Makefile.in index b38d56f0e..ccbcda052 100644 --- a/Cantera/python/examples/reactors/mix1_sim/Makefile.in +++ b/Cantera/python/examples/reactors/mix1_sim/Makefile.in @@ -1,5 +1,7 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors/mix1_sim + PYTHON_CMD = @PYTHON_CMD@ run: @@ -7,8 +9,16 @@ run: test: ./runtest + + +install: + @INSTALL@ -d $(INST_DIR) + @INSTALL@ -c -m ug+rw,o+r mix1.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: - rm -f *.log *.csv *.xml ./cleanup # end of file diff --git a/Cantera/python/examples/reactors/mix2_sim/Makefile.in b/Cantera/python/examples/reactors/mix2_sim/Makefile.in index f4173dc62..5f1d77668 100644 --- a/Cantera/python/examples/reactors/mix2_sim/Makefile.in +++ b/Cantera/python/examples/reactors/mix2_sim/Makefile.in @@ -1,5 +1,7 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors/mix2_sim + PYTHON_CMD = @PYTHON_CMD@ run: @@ -7,8 +9,15 @@ run: test: ./runtest + +install: + @INSTALL@ -d $(INST_DIR) + @INSTALL@ -c -m ug+rw,o+r mix2.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: - rm -f *.log *.csv *.xml ./cleanup # end of file diff --git a/Cantera/python/examples/reactors/piston_sim/Makefile.in b/Cantera/python/examples/reactors/piston_sim/Makefile.in index 6291af1b8..83bbace3e 100644 --- a/Cantera/python/examples/reactors/piston_sim/Makefile.in +++ b/Cantera/python/examples/reactors/piston_sim/Makefile.in @@ -1,5 +1,7 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/piston_sim + PYTHON_CMD = @PYTHON_CMD@ run: @@ -7,8 +9,17 @@ run: test: ./runtest + + +install: + @INSTALL@ -d $(INST_DIR) + @INSTALL@ -c -m ug+rw,o+r piston.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: - rm -f *.log *.csv *.xml ./cleanup # end of file diff --git a/Cantera/python/examples/reactors/reactor1_sim/Makefile.in b/Cantera/python/examples/reactors/reactor1_sim/Makefile.in index 239473432..0cc1aac5a 100644 --- a/Cantera/python/examples/reactors/reactor1_sim/Makefile.in +++ b/Cantera/python/examples/reactors/reactor1_sim/Makefile.in @@ -1,5 +1,7 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors/reactors1_sim + PYTHON_CMD = @PYTHON_CMD@ run: @@ -7,8 +9,16 @@ run: test: ./runtest + +install: + @INSTALL@ -d $(INST_DIR) + @INSTALL@ -c -m ug+rw,o+r reactor1.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: - rm -f *.log *.csv *.xml ./cleanup # end of file diff --git a/Cantera/python/examples/reactors/reactor2_sim/Makefile.in b/Cantera/python/examples/reactors/reactor2_sim/Makefile.in index bcabcd285..c06e02f13 100644 --- a/Cantera/python/examples/reactors/reactor2_sim/Makefile.in +++ b/Cantera/python/examples/reactors/reactor2_sim/Makefile.in @@ -1,5 +1,8 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors/reactor2_sim + + PYTHON_CMD = @PYTHON_CMD@ all: @@ -10,8 +13,15 @@ run: test: ./runtest + +install: + @INSTALL@ -d $(INST_DIR) + @INSTALL@ -c -m ug+rw,o+r reactor2.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: - rm -f *.log *.csv *.xml ./cleanup # end of file diff --git a/Cantera/python/examples/reactors/sensitivity_sim/Makefile.in b/Cantera/python/examples/reactors/sensitivity_sim/Makefile.in index 492829c23..6c2b1af41 100644 --- a/Cantera/python/examples/reactors/sensitivity_sim/Makefile.in +++ b/Cantera/python/examples/reactors/sensitivity_sim/Makefile.in @@ -1,5 +1,7 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors/sensitivity_sim + PYTHON_CMD = @PYTHON_CMD@ run: @@ -7,8 +9,15 @@ run: test: ./runtest + +install: + @INSTALL@ -d $(INST_DIR) + @INSTALL@ -c -m ug+rw,o+r sensitivity1.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: - rm -f *.log *.csv *.xml ./cleanup # end of file diff --git a/Cantera/python/examples/reactors/surf_pfr_sim/Makefile.in b/Cantera/python/examples/reactors/surf_pfr_sim/Makefile.in index 6d2d38905..568b788fd 100644 --- a/Cantera/python/examples/reactors/surf_pfr_sim/Makefile.in +++ b/Cantera/python/examples/reactors/surf_pfr_sim/Makefile.in @@ -1,5 +1,7 @@ #!/bin/sh +INST_DIR=@ct_demodir@/python/reactors/surf_pfr_sim + PYTHON_CMD = @PYTHON_CMD@ all: @@ -10,8 +12,16 @@ run: test: ./runtest + +install: + @INSTALL@ -d $(INST_DIR) + @INSTALL@ -c -m ug+rw,o+r surf_pfr.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 surf_pfr_blessed_0.csv $(INST_DIR) + clean: - rm -f *.log *.csv *.xml ./cleanup # end of file