[Bio] / FortyEight / Makefile Repository:
ViewVC logotype

Diff of /FortyEight/Makefile

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

revision 1.5, Mon Jan 15 21:43:51 2007 UTC revision 1.15, Tue Sep 25 18:45:53 2007 UTC
# Line 24  Line 24 
24    
25  PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))  PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))
26    
27    PERL_LIB = $(wildcard *.pm) \
28               $(wildcard WebPage/*.pm) \
29               $(wildcard WebApp/*.pm) \
30               $(wildcard WebApplicationServer/*.pm)
31    
32    WEBPAGES := $(wildcard *.tmpl)
33    
34  PERL_BIN_SRC = check_jobs.pl rp_chunk_sims.pl rp_compute_sims.pl rp_postproc_sims.pl  \  PERL_BIN_SRC = check_jobs.pl rp_chunk_sims.pl rp_compute_sims.pl rp_postproc_sims.pl  \
35          rp_auto_assign.pl rp_quality_check.pl rp_correction.pl rp_compute_bbhs.pl          rp_auto_assign.pl rp_quality_check.pl rp_correction.pl rp_compute_bbhs.pl \
36            find-genomes-not-in-seed rp_rapid_propagation.pl  rp_glue_contigs.pl  rp_compute_pchs.pl \
37            migrate_job.pl rp_scenarios.pl \
38            create_import_job.pl import_pipeline.pl imp_build_nr.pl imp_prepare_sims.pl imp_process_sims.pl \
39            imp_merge_sims.pl imp_check_tl_sim_status.pl  imp_finish_tl_sims.pl  \
40            imp_salvage.pl imp_submit_tl_sims.pl \
41            validate_tl_sims.pl
42    
 PERL_LIB = \  
         WebPage/Login.pm \  
         WebPage/UserManagement.pm \  
         WebPage/Nosuchpage.pm  
43    
44  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))
45  PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))  PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))
# Line 46  Line 55 
55    
56  bin: $(INST_PERL_BIN)  bin: $(INST_PERL_BIN)
57    
58  lib:    $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB)  lib:    $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB) $(foreach var, $(WEBPAGES), $(cgidir)/Html/$(var))
59    
60  htaccess_src = $(RTROOT)/config/all.htaccess  htaccess_src = $(RTROOT)/config/all.htaccess
61  htaccess_dst = $(cgidir)/.htaccess  htaccess_dst = $(cgidir)/.htaccess
# Line 70  Line 79 
79  $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)  $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)
80          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
81    
82    $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%
83            cp $< $(cgidir)/Html/.
84    
85  #  #
86  # We have a config problem at the moment.  I do not want to depend  # We have a config problem at the moment.  I do not want to depend
87  # upon explicit calls to other packages, as done here nor do I want  # upon explicit calls to other packages, as done here nor do I want
# Line 88  Line 100 
100          if [ ! -d $$tgt_dir ] ; then \          if [ ! -d $$tgt_dir ] ; then \
101                  mkdir $$tgt_dir; \                  mkdir $$tgt_dir; \
102          fi          fi
103          cp -p  $< $@          cp  $< $@
104    
105  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
106            perl -I.. -c $<
107          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
108    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.15

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3