[Bio] / FortyEight / Makefile Repository:
ViewVC logotype

Diff of /FortyEight/Makefile

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

revision 1.1, Fri Nov 10 17:05:11 2006 UTC revision 1.17, Fri Sep 28 20:27:06 2007 UTC
# Line 24  Line 24 
24    
25  PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))  PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))
26    
27  PERL_LIB = \  PERL_LIB = $(wildcard *.pm) \
28          WebPage/Login.pm \             $(wildcard WebPage/*.pm) \
29          WebPage/UserManagement.pm \             $(wildcard WebApp/*.pm) \
30          WebPage/Nosuchpage.pm             $(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  \
35            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            rp_HMM_PFAM_search_on_timelogic.pl rp_PFAM_attribute_generation.pl rp_make_PFAM_HMM_derived_attributes.pl
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))
46    INST_PERL_BIN = $(foreach var, $(PERL_BIN), $(bindir)/$(var))
47    
48  all: lib  all: lib
49    
# Line 38  Line 52 
52          @echo top $(TOPDIR)          @echo top $(TOPDIR)
53          @echo pkg $(PKGNAME)          @echo pkg $(PKGNAME)
54          @echo toolhdr $(TOOL_HDR)          @echo toolhdr $(TOOL_HDR)
 bin:  
55    
56  lib:    $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB)  bin: $(INST_PERL_BIN)
57    
58    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 64  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 82  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)
106            ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
107    
108    #       perl -I.. -c $<
109    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.17

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3