[Bio] / FigTutorial / Makefile Repository:
ViewVC logotype

View of /FigTutorial/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (annotate)
Thu Jun 10 14:51:56 2004 UTC (15 years, 8 months ago) by disz
Branch: MAIN
Changes since 1.1: +2 -2 lines
Python version of tutorial code

PYTHON_BIN_SRC = $(wildcard *.py)
PYTHON_BIN = $(subst .py,, $(PYTHON_BIN_SRC))
INST_PYTHON_BIN = $(foreach var, $(PYTHON_BIN), $(tutdir)/python/$(var))

PERL_BIN_SRC = $(wildcard *.pl)
PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))
INST_PERL_BIN = $(foreach var, $(PERL_BIN), $(tutdir)/perl/$(var))

bin: $(INST_PYTHON_BIN) $(INST_PERL_BIN)

lib:

force:

test:

clean:

TOOL_HDR := $(workdir)/tool_hdr
TOOL_HDR_PY := $(workdir)/tool_hdr_py

$(tutdir)/perl/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
	( cat $(TOOL_HDR) $< > $@; chmod +x $@ )

$(tutdir)/python/%: $(TOPDIR)/$(PKGNAME)/%.py $(TOOL_HDR_PY)
	( cat $(TOOL_HDR_PY) $< > $@; chmod +x $@ )


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3