[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Diff of /Sprout/Makefile

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

revision 1.3, Sat Dec 18 17:33:01 2004 UTC revision 1.13, Thu Feb 16 02:23:45 2006 UTC
# Line 1  Line 1 
1    
2  PERL_MODULES = \  PERLPACKAGES := $(wildcard *.pm)
3          ERDataBase/DBObject.pm \  PERLSCRIPTS := $(wildcard *.pl)
4          ERDataBase/DBQuery.pm \  ERDBS := $(wildcard *DBD.xml)
         ERDataBase/DBsmall.pm \  
         ERDataBase/ERDB.pm \  
         ERDataBase/Tracer.pm \  
         ERDataBase/Sprout.pm \  
         ERDataBase/Genome.pn  
   
 PERL_SCRIPTS = \  
         ERDataBase/SproutTest.pl  
5    
6  INSTALL_PACKAGE = FigKernelPackages  INSTALL_PACKAGE = FigKernelPackages
7    
8  lib:    $(foreach var, $(notdir $(PERL_MODULES)), $(libdir)/$(INSTALL_PACKAGE)/$(var))  lib: html_doc lib_pm bin xml
9    
10    html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))
11    
12    
13  bin:    $(foreach var, $(subst .pl,,$(notdir $(PERL_SCRIPTS))), $(bindir)/$(var))  lib_pm: $(foreach var, $(notdir $(PERLPACKAGES)), $(libdir)/$(INSTALL_PACKAGE)/$(var))
14    
15    bin:    $(foreach var, $(subst .pl,,$(notdir $(PERLSCRIPTS))), $(bindir)/$(var))
16    
17    xml:  $(foreach var, $(notdir $(ERDBS)), $(RTROOT)/FIG/$(var))
18    
19    $(RTROOT)/FIG/%.xml: %.xml
20            cp -p $< $@
21    
22    
23  schematools:  schematools:
# Line 26  Line 28 
28    
29  clean:  clean:
30    
31  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/ERDataBase/%.pm  html_doc_dir:
32            if [ ! -d $(cgidir)/Html/pod_docs  ] ; then mkdir $(cgidir)/Html/pod_docs; fi
33    
34    $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
35            -$(FIG_HOME)/env/$(RTARCH)/bin/perl $(FIG_HOME)/env/$(RTARCH)/bin/pod2html --outfile $@ $<
36    
37    
38    $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
39          cp -p  $< $@          cp -p  $< $@
40    
41  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/ERDataBase/%.pl $(TOOL_HDR)  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
42          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
   

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3