Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# $Id: script-install.gmk,v 1.2 2008/12/03 07:36:08 kmura Exp $
|
||||
# ===========================================================
|
||||
# Script for installing modules
|
||||
# ===========================================================
|
||||
pys := $(wildcard *.py)
|
||||
pycs := $(patsubst %.py, %.pyc, $(pys))
|
||||
pyos := $(patsubst %.py, %.pyo, $(pys))
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
all: $(pycs) $(pyos)
|
||||
|
||||
|
||||
install: $(pycs) $(pyos)
|
||||
@echo ... intall "*.py" into $(install_dir)
|
||||
@if [ ! -d $(install_dir) ]; then install -d $(install_dir); fi
|
||||
@install -m 644 $(pys) $(pycs) $(pyos) $(install_dir)
|
||||
|
||||
clean:
|
||||
@-\rm -f $(pycs) $(pyos)
|
||||
|
||||
Reference in New Issue
Block a user