Fixed more install rules.

This commit is contained in:
Harry Moffat 2009-03-24 23:41:19 +00:00
parent a7bbb072be
commit 0f5e3e3f24
3 changed files with 33 additions and 2 deletions

View file

@ -1,5 +1,7 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/surface_chemistry
all:
cd catcomb_stagflow; @MAKE@
cd diamond_cvd; @MAKE@
@ -12,6 +14,12 @@ test:
cd catcomb_stagflow; @MAKE@ test
cd diamond_cvd; @MAKE@ test
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
cd catcomb_stagflow; @MAKE@ install
cd diamond_cvd; @MAKE@ install
clean:
cd catcomb_stagflow; @MAKE@ clean
cd diamond_cvd; @MAKE@ clean

View file

@ -1,5 +1,8 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/surface_chemistry/catcomb_stagflow
PYTHON_CMD = @PYTHON_CMD@
run:
@ -7,8 +10,17 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r catcomb.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 catcomb_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup
# end of file

View file

@ -1,5 +1,8 @@
#!/bin/sh
INST_DIR=@ct_demodir@/python/surface_chemistry/diamond_cvd
PYTHON_CMD = @PYTHON_CMD@
run:
@ -7,8 +10,16 @@ run:
test:
./runtest
install:
@INSTALL@ -d $(INST_DIR)
@INSTALL@ -c -m ug+rw,o+r diamond.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 diamond_blessed_0.csv $(INST_DIR)
clean:
rm -f *.log *.csv *.xml
./cleanup
# end of file