[Bio] / FigTutorial / Makefile Repository:
ViewVC logotype

Annotation of /FigTutorial/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (view) (download)

1 : olson 1.1
2 :     PYTHON_BIN_SRC = $(wildcard *.py)
3 :     PYTHON_BIN = $(subst .py,, $(PYTHON_BIN_SRC))
4 :     INST_PYTHON_BIN = $(foreach var, $(PYTHON_BIN), $(tutdir)/python/$(var))
5 :    
6 :     PERL_BIN_SRC = $(wildcard *.pl)
7 :     PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))
8 :     INST_PERL_BIN = $(foreach var, $(PERL_BIN), $(tutdir)/perl/$(var))
9 :    
10 :     bin: $(INST_PYTHON_BIN) $(INST_PERL_BIN)
11 :    
12 :     lib:
13 :    
14 :     force:
15 :    
16 :     test:
17 :    
18 :     clean:
19 :    
20 :     TOOL_HDR := $(workdir)/tool_hdr
21 :     TOOL_HDR_PY := $(workdir)/tool_hdr_py
22 :    
23 :     $(tutdir)/perl/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
24 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
25 :    
26 : disz 1.2 $(tutdir)/python/%: $(TOPDIR)/$(PKGNAME)/%.py $(TOOL_HDR_PY)
27 :     ( cat $(TOOL_HDR_PY) $< > $@; chmod +x $@ )
28 : olson 1.1

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3