annotate Makefile @ 0:e0afb8854cc4 draft

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