Last change
on this file was
14494,
checked in by westram, 9 years ago
|
- do not clean links in $ARBHOME/bin before creating them
- target is triggered multiple times during build ⇒ it was not guaranteed that links exist when used
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | |
---|
2 | .PHONY: help all develall mafftlinks scriptlinks devellinks clean cleanbinaries cleanlinks |
---|
3 | |
---|
4 | help: |
---|
5 | @echo 'Known targets:' |
---|
6 | @echo '' |
---|
7 | @echo ' all create all links to binaries in: SH PERL_SCRIPTS' |
---|
8 | @echo ' develall create links to arb_binaries in: SOURCE_TOOLS (development only)' |
---|
9 | @echo ' clean: remove all executables and links' |
---|
10 | @echo ' cleanlinks: remove all links' |
---|
11 | |
---|
12 | # ---------------------------------------- |
---|
13 | |
---|
14 | all: |
---|
15 | $(MAKE) scriptlinks mafftlinks |
---|
16 | |
---|
17 | develall: |
---|
18 | $(MAKE) scriptlinks mafftlinks devellinks |
---|
19 | |
---|
20 | # ---------------------------------------- |
---|
21 | |
---|
22 | MAFFTLINKS= \ |
---|
23 | mafft-einsi \ |
---|
24 | mafft-fftns \ |
---|
25 | mafft-fftnsi \ |
---|
26 | mafft-ginsi \ |
---|
27 | mafft-linsi \ |
---|
28 | mafft-nwns \ |
---|
29 | mafft-nwnsi \ |
---|
30 | mafft-qinsi \ |
---|
31 | mafft-xinsi \ |
---|
32 | |
---|
33 | mafft-%: |
---|
34 | ln -s -f mafft $@ |
---|
35 | |
---|
36 | mafftlinks: $(MAFFTLINKS) |
---|
37 | |
---|
38 | scriptlinks: |
---|
39 | ln -s -f `find ../SH -perm -100 ! -type d -print` . |
---|
40 | ln -s -f `find ../PERL_SCRIPTS -perm -100 ! -type d ! -path '*/IFTHELP/*' ! -path '*/TESTS/*' -print` . |
---|
41 | |
---|
42 | devellinks: |
---|
43 | ln -s -f `find ../SOURCE_TOOLS -name "arb_*" -perm -100 ! -type d -print` . |
---|
44 | |
---|
45 | # ---------------------------------------- |
---|
46 | clean: cleanlinks cleanbinaries |
---|
47 | |
---|
48 | cleanbinaries: |
---|
49 | -find . -type f -perm -100 -exec rm {} \; |
---|
50 | |
---|
51 | cleanlinks: |
---|
52 | -find . -type l -exec rm {} \; |
---|
Note: See
TracBrowser
for help on using the repository browser.