annotate Makefile @ 2:234df22cd722 draft

planemo upload
author lecorguille
date Wed, 24 Feb 2016 12:30:37 -0500
parents 930478b22633
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
930478b22633 planemo upload
lecorguille
parents:
diff changeset
1 # USAGE: make [install|clean]
930478b22633 planemo upload
lecorguille
parents:
diff changeset
2
930478b22633 planemo upload
lecorguille
parents:
diff changeset
3 # -------- VARIABLE --------
930478b22633 planemo upload
lecorguille
parents:
diff changeset
4
930478b22633 planemo upload
lecorguille
parents:
diff changeset
5 OBJ=xcms_summary.tgz
930478b22633 planemo upload
lecorguille
parents:
diff changeset
6 DEP=abims_xcms_summary.xml xcms_summary.r tool_dependencies.xml repository_dependencies.xml test-data
930478b22633 planemo upload
lecorguille
parents:
diff changeset
7
930478b22633 planemo upload
lecorguille
parents:
diff changeset
8
930478b22633 planemo upload
lecorguille
parents:
diff changeset
9 # ------------------------
930478b22633 planemo upload
lecorguille
parents:
diff changeset
10
930478b22633 planemo upload
lecorguille
parents:
diff changeset
11 all: $(OBJ)
930478b22633 planemo upload
lecorguille
parents:
diff changeset
12
930478b22633 planemo upload
lecorguille
parents:
diff changeset
13 $(OBJ): $(DEP)
930478b22633 planemo upload
lecorguille
parents:
diff changeset
14 tar --exclude=".svn" -zchf $@ $^
930478b22633 planemo upload
lecorguille
parents:
diff changeset
15
930478b22633 planemo upload
lecorguille
parents:
diff changeset
16 # ------------------------
930478b22633 planemo upload
lecorguille
parents:
diff changeset
17
930478b22633 planemo upload
lecorguille
parents:
diff changeset
18 install: $(OBJ)
930478b22633 planemo upload
lecorguille
parents:
diff changeset
19 mv *.tgz ~
930478b22633 planemo upload
lecorguille
parents:
diff changeset
20
930478b22633 planemo upload
lecorguille
parents:
diff changeset
21 clean:
930478b22633 planemo upload
lecorguille
parents:
diff changeset
22 rm *.tgz
930478b22633 planemo upload
lecorguille
parents:
diff changeset
23