annotate Makefile @ 0:19c1d2598eb5 draft

planemo upload
author lecorguille
date Fri, 07 Aug 2015 10:57:36 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
1 # USAGE: make [install|clean]
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
2
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
3 # -------- VARIABLE --------
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
4
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
5 OBJ=xcms_retcor.tgz
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
6 DEP=abims_xcms_retcor.xml tool_dependencies.xml repository_dependencies.xml static test-data
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
7
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
8
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
9 # ------------------------
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
10
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
11 all: $(OBJ)
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
12
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
13 $(OBJ): $(DEP)
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
14 tar --exclude=".svn" -zchf $@ $^
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
15
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
16 # ------------------------
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
17
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
18 install: $(OBJ)
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
19 mv *.tgz ~
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
20
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
21 clean:
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
22 rm *.tgz
19c1d2598eb5 planemo upload
lecorguille
parents:
diff changeset
23