[Bio] / KBaseTutorials / Makefile Repository:
ViewVC logotype

View of /KBaseTutorials/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (download) (annotate)
Wed Jun 13 21:09:01 2012 UTC (7 years, 4 months ago) by olson
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +9 -5 lines
Update of the tutorial publication stuff.

INST_TUTORIAL_DIRS =  $(subst /,,$(dir $(wildcard */tutorial.html)))

TARGET_DIR = $(cgidir)/Html/$(PKGNAME)

echo:	
	@echo $(INST_TUTORIAL_DIRS)

bin:

lib: 
	rm -fr tmp_site
	mkdir tmp_site
	perl index_dbd_terms.pl /home/parrello/CdmiData/Published/KSaplingDBD.xml tmp_site < terms > tmp_site/terms.to.index
	perl make_index.pl < tmp_site/terms.to.index > tmp_site/Overview/tutorial_index.html	
	dstdir=$(TARGET_DIR)_raw; \
	test -d $$dstdir || mkdir -p $$dstdir; \
	(cd tmp_site; perl ../publish_site.pl link $$dstdir)
	dstdir=$(TARGET_DIR); \
	test -d $$dstdir || mkdir -p $$dstdir; \
	(cd tmp_site; perl ../publish_site.pl copy $$dstdir)
	(cd tmp_site; perl ../publish_site.pl show /tmp) > publish.txt
	dstdir=$(TARGET_DIR)_kbase; \
	test -d $$dstdir || mkdir -p $$dstdir; \
	(cd tmp_site; perl ../publish_site.pl kbase $$dstdir)

force:

schematools:
stDeclFiles:
stGeneratedFiles:


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 -r $< $(cgidir)/Html/.


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3