[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Diff of /Sprout/Makefile

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

revision 1.13, Thu Feb 16 02:23:45 2006 UTC revision 1.20, Fri Jun 20 19:12:22 2008 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    POD2HTML = $(PERL) $(shell echo $(PERL) | sed 's/perl$$/pod2html/')
4    
5  PERLPACKAGES := $(wildcard *.pm)  PERLPACKAGES := $(wildcard *.pm)
6  PERLSCRIPTS := $(wildcard *.pl)  PERLSCRIPTS := $(wildcard *.pl)
# Line 5  Line 8 
8    
9  INSTALL_PACKAGE = FigKernelPackages  INSTALL_PACKAGE = FigKernelPackages
10    
11  lib: html_doc lib_pm bin xml  lib: html_doc lib_pm bin xml search
12    
13  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))
14    
# Line 16  Line 19 
19    
20  xml:  $(foreach var, $(notdir $(ERDBS)), $(RTROOT)/FIG/$(var))  xml:  $(foreach var, $(notdir $(ERDBS)), $(RTROOT)/FIG/$(var))
21    
22    search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png
23    
24  $(RTROOT)/FIG/%.xml: %.xml  $(RTROOT)/FIG/%.xml: %.xml
25          cp -p $< $@          -rm -f $@
26            cp $< $@
27    
28    
29  schematools:  schematools:
# Line 32  Line 38 
38          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
39    
40  $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm  $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
41          -$(FIG_HOME)/env/$(RTARCH)/bin/perl $(FIG_HOME)/env/$(RTARCH)/bin/pod2html --outfile $@ $<          -$(POD2HTML) --outfile $@ $<
   
42    
43  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
44          cp -p  $< $@          cp  $< $@
45    
46  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
47          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
48    
49    $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src
50            cp $< $@
51    
52    $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png
53            cp $< $@

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.20

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3