[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Diff of /Sprout/Makefile

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

revision 1.7, Tue Jan 18 18:45:35 2005 UTC revision 1.16, Wed Aug 16 03:37:02 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/DBKernel.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 \  
         ERDataBase/FIGSproutTest.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 search
9    
10  bin:    $(foreach var, $(subst .pl,,$(notdir $(PERL_SCRIPTS))), $(bindir)/$(var))  html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))
11    
12    
13    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    search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png
20    
21    $(RTROOT)/FIG/%.xml: %.xml
22            cp $< $@
23    
24    
25  schematools:  schematools:
# Line 30  Line 30 
30    
31  clean:  clean:
32    
33  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/ERDataBase/%.pm  html_doc_dir:
34            if [ ! -d $(cgidir)/Html/pod_docs  ] ; then mkdir $(cgidir)/Html/pod_docs; fi
35    
36    $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
37            -$(FIG_HOME)/env/$(RTARCH)/bin/perl $(FIG_HOME)/env/$(RTARCH)/bin/pod2html --outfile $@ $<
38    
39    $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
40          cp -p  $< $@          cp -p  $< $@
41    
42  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/ERDataBase/%.pl $(TOOL_HDR)  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
43          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
44    
45    $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src
46            cp -p $< $@
47    
48    $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png
49            cp -p $< $@

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.16

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3