annotate Makefile @ 3:98e33cdf0eb1 draft

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