[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Diff of /Sprout/Makefile

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

revision 1.6, Wed Jan 12 19:09:56 2005 UTC revision 1.10, Mon Mar 7 17:45:34 2005 UTC
# Line 1  Line 1 
1    
2  PERL_MODULES = \  PERLPACKAGES := $(wildcard *.pm)
3          ERDataBase/DBObject.pm \  PERLSCRIPTS := $(wildcard *.pl)
         ERDataBase/DBQuery.pm \  
         ERDataBase/DBsmall.pm \  
         ERDataBase/ERDB.pm \  
         ERDataBase/Tracer.pm \  
         ERDataBase/Sprout.pm \  
         ERDataBase/PageBuilder.pm \  
         ERDataBase/FIGRules.pm \  
         ERDataBase/Stats.pm \  
         ERDataBase/Genome.pm  
   
 PERL_SCRIPTS = \  
         ERDataBase/SproutTest.pl  
4    
5  INSTALL_PACKAGE = FigKernelPackages  INSTALL_PACKAGE = FigKernelPackages
6    
7  lib:    $(foreach var, $(notdir $(PERL_MODULES)), $(libdir)/$(INSTALL_PACKAGE)/$(var))  lib: html_doc lib_pm bin xml
8    
9    html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))
10    
11    
12    lib_pm: $(foreach var, $(notdir $(PERLPACKAGES)), $(libdir)/$(INSTALL_PACKAGE)/$(var))
13    
14    bin:    $(foreach var, $(subst .pl,,$(notdir $(PERLSCRIPTS))), $(bindir)/$(var))
15    
16  bin:    $(foreach var, $(subst .pl,,$(notdir $(PERL_SCRIPTS))), $(bindir)/$(var))  xml: $(RTROOT)/FIG/SproutDBD.xml
17    
18    $(RTROOT)/FIG/SproutDBD.xml: SproutDBD.xml
19            cp SproutDBD.xml $(RTROOT)/FIG/SproutDBD.xml
20    
21    
22  schematools:  schematools:
# Line 29  Line 27 
27    
28  clean:  clean:
29    
30  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/ERDataBase/%.pm  html_doc_dir:
31            if [ ! -d $(cgidir)/Html/pod_docs  ] ; then mkdir $(cgidir)/Html/pod_docs; fi
32    
33    $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
34            -$(FIG_HOME)/env/$(RTARCH)/bin/perl $(FIG_HOME)/env/$(RTARCH)/bin/pod2html --outfile $@ $<
35    
36    
37    $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
38          cp -p  $< $@          cp -p  $< $@
39    
40  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/ERDataBase/%.pl $(TOOL_HDR)  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
41          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3