|
Last change
on this file since 1344 was 1337, checked in by garnier, 15 years ago |
|
tag geant4.9.4 beta 1 + modifs locales
|
|
File size:
591 bytes
|
| Line | |
|---|
| 1 | # $Id: script-install.gmk,v 1.2 2008/12/03 07:36:08 kmura Exp $
|
|---|
| 2 | # ===========================================================
|
|---|
| 3 | # Script for installing modules
|
|---|
| 4 | # ===========================================================
|
|---|
| 5 | pys := $(wildcard *.py)
|
|---|
| 6 | pycs := $(patsubst %.py, %.pyc, $(pys))
|
|---|
| 7 | pyos := $(patsubst %.py, %.pyo, $(pys))
|
|---|
| 8 |
|
|---|
| 9 | .PHONY: clean
|
|---|
| 10 |
|
|---|
| 11 | all: $(pycs) $(pyos)
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | install: $(pycs) $(pyos)
|
|---|
| 15 | @echo ... intall "*.py" into $(install_dir)
|
|---|
| 16 | @if [ ! -d $(install_dir) ]; then install -d $(install_dir); fi
|
|---|
| 17 | @install -m 644 $(pys) $(pycs) $(pyos) $(install_dir)
|
|---|
| 18 |
|
|---|
| 19 | clean:
|
|---|
| 20 | @-\rm -f $(pycs) $(pyos)
|
|---|
| 21 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.