[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Diff of /Sprout/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10, Mon Mar 7 17:45:34 2005 UTC revision 1.19, Tue Dec 4 20:09:03 2007 UTC
# Line 1  Line 1 
1    PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
2    POD2HTML = $(PERL) $(shell $(PERL) -MConfig -e 'print "$$Config{installbin}/pod2html\n"')
3    
4  PERLPACKAGES := $(wildcard *.pm)  PERLPACKAGES := $(wildcard *.pm)
5  PERLSCRIPTS := $(wildcard *.pl)  PERLSCRIPTS := $(wildcard *.pl)
6    ERDBS := $(wildcard *DBD.xml)
7    
8  INSTALL_PACKAGE = FigKernelPackages  INSTALL_PACKAGE = FigKernelPackages
9    
10  lib: html_doc lib_pm bin xml  lib: html_doc lib_pm bin xml search
11    
12  html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))  html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))
13    
# Line 13  Line 16 
16    
17  bin:    $(foreach var, $(subst .pl,,$(notdir $(PERLSCRIPTS))), $(bindir)/$(var))  bin:    $(foreach var, $(subst .pl,,$(notdir $(PERLSCRIPTS))), $(bindir)/$(var))
18    
19  xml: $(RTROOT)/FIG/SproutDBD.xml  xml:  $(foreach var, $(notdir $(ERDBS)), $(RTROOT)/FIG/$(var))
20    
21  $(RTROOT)/FIG/SproutDBD.xml: SproutDBD.xml  search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png
22          cp SproutDBD.xml $(RTROOT)/FIG/SproutDBD.xml  
23    $(RTROOT)/FIG/%.xml: %.xml
24            -rm -f $@
25            cp $< $@
26    
27    
28  schematools:  schematools:
# Line 31  Line 37 
37          if [ ! -d $(cgidir)/Html/pod_docs  ] ; then mkdir $(cgidir)/Html/pod_docs; fi          if [ ! -d $(cgidir)/Html/pod_docs  ] ; then mkdir $(cgidir)/Html/pod_docs; fi
38    
39  $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm  $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
40          -$(FIG_HOME)/env/$(RTARCH)/bin/perl $(FIG_HOME)/env/$(RTARCH)/bin/pod2html --outfile $@ $<          -$(POD2HTML) --outfile $@ $<
   
41    
42  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
43          cp -p  $< $@          cp  $< $@
44    
45  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
46          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
47    
48    $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src
49            cp $< $@
50    
51    $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png
52            cp $< $@

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.19

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3