source: trunk/environments/g4py/config/script-install.gmk @ 1342

Last change on this file since 1342 was 1337, checked in by garnier, 14 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# ===========================================================
5pys  := $(wildcard *.py)
6pycs := $(patsubst %.py, %.pyc, $(pys))
7pyos := $(patsubst %.py, %.pyo, $(pys))
8
9.PHONY: clean
10
11all: $(pycs) $(pyos)
12
13
14install: $(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
19clean:
20        @-\rm -f $(pycs) $(pyos)
21
Note: See TracBrowser for help on using the repository browser.