[Bio] / FigTutorial / Makefile Repository:
ViewVC logotype

View of /FigTutorial/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (annotate)
Mon Jun 28 19:14:07 2004 UTC (15 years, 9 months ago) by olson
Branch: MAIN
Changes since 1.2: +5 -1 lines
More page moveabout

WEBPAGES := $(wildcard *.html)
INST_WEBPAGES =  $(foreach var, $(WEBPAGES), $(cgidir)/Html/$(var))

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:  $(INST_WEBPAGES)

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 $@ )

$(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%
	cp $< $(cgidir)/Html/.

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3