-
Notifications
You must be signed in to change notification settings - Fork 0
/
Make.mm
45 lines (34 loc) · 969 Bytes
/
Make.mm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- Makefile -*-
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Michael A.G. Aivazis
# California Institute of Technology
# (C) 1998-2004 All Rights Reserved
#
# <LicenseText>
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
PROJECT = ins-data
# directory structure
#--------------------------------------------------------------------------
all: export
#
CP_RF = rsync -a
EXPORT_DATADIRS = \
Lrmecs \
Pharos \
simulation \
RESOURCE_DEST = $(EXPORT_ROOT)/share/data
export:: export-package-data
export-package-data:: $(EXPORT_DATADIRS)
mkdir -p $(RESOURCE_DEST); \
for x in $(EXPORT_DATADIRS); do { \
if [ -d $$x ]; then { \
$(CP_RF) $$x/ $(RESOURCE_DEST)/$$x/; \
} fi; \
} done
# version
# $Id: Make.mm 788 2006-02-22 05:33:34Z linjiao $
# End of file