[Bio] / KBaseTutorials / Makefile Repository:
ViewVC logotype

Annotation of /KBaseTutorials/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (view) (download)

1 : olson 1.1
2 :     INST_TUTORIAL_DIRS = $(subst /,,$(dir $(wildcard */tutorial.html)))
3 :    
4 :     TARGET_DIR = $(cgidir)/Html/$(PKGNAME)
5 :    
6 :     echo:
7 :     @echo $(INST_TUTORIAL_DIRS)
8 :    
9 : olson 1.5 bin:
10 : olson 1.1
11 :     lib:
12 : olson 1.5 rm -fr tmp_site
13 :     mkdir tmp_site
14 :     perl index_dbd_terms.pl /home/parrello/CdmiData/Published/KSaplingDBD.xml tmp_site < terms > tmp_site/terms.to.index
15 :     perl make_index.pl < tmp_site/terms.to.index > tmp_site/Overview/tutorial_index.html
16 : olson 1.2 dstdir=$(TARGET_DIR)_raw; \
17 :     test -d $$dstdir || mkdir -p $$dstdir; \
18 : olson 1.5 (cd tmp_site; perl ../publish_site.pl link $$dstdir)
19 : olson 1.2 dstdir=$(TARGET_DIR); \
20 :     test -d $$dstdir || mkdir -p $$dstdir; \
21 : olson 1.5 (cd tmp_site; perl ../publish_site.pl copy $$dstdir)
22 :     (cd tmp_site; perl ../publish_site.pl show /tmp) > publish.txt
23 : olson 1.4 dstdir=$(TARGET_DIR)_kbase; \
24 :     test -d $$dstdir || mkdir -p $$dstdir; \
25 : olson 1.5 (cd tmp_site; perl ../publish_site.pl kbase $$dstdir)
26 : olson 1.1
27 :     force:
28 :    
29 :     schematools:
30 :     stDeclFiles:
31 :     stGeneratedFiles:
32 :    
33 :    
34 :     test:
35 :    
36 :     clean:
37 :    
38 :     TOOL_HDR := $(workdir)/tool_hdr
39 :     TOOL_HDR_PY := $(workdir)/tool_hdr_py
40 :    
41 :     $(tutdir)/perl/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
42 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
43 :    
44 :     $(tutdir)/python/%: $(TOPDIR)/$(PKGNAME)/%.py $(TOOL_HDR_PY)
45 :     ( cat $(TOOL_HDR_PY) $< > $@; chmod +x $@ )
46 :    
47 :     $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%
48 :     cp -r $< $(cgidir)/Html/.
49 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3