[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.6, Tue Jan 16 21:09:07 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    
30    WEBPAGES := $(wildcard *.tmpl)
31    
32  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  \
33          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
34    
 PERL_LIB = \  
         WebPage/Login.pm \  
         WebPage/UserManagement.pm \  
         WebPage/Nosuchpage.pm  
   
35  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))
36  PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))  PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))
37  INST_PERL_BIN = $(foreach var, $(PERL_BIN), $(bindir)/$(var))  INST_PERL_BIN = $(foreach var, $(PERL_BIN), $(bindir)/$(var))
# Line 46  Line 46 
46    
47  bin: $(INST_PERL_BIN)  bin: $(INST_PERL_BIN)
48    
49  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))
50    
51  htaccess_src = $(RTROOT)/config/all.htaccess  htaccess_src = $(RTROOT)/config/all.htaccess
52  htaccess_dst = $(cgidir)/.htaccess  htaccess_dst = $(cgidir)/.htaccess
# Line 70  Line 70 
70  $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)  $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)
71          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
72    
73    $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%
74            cp -p $< $(cgidir)/Html/.
75    
76  #  #
77  # 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
78  # 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

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3