annotate Makefile @ 3:4ca5c7bbc6cf draft

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