[Bio] / SubsystemEditor / Makefile Repository:
ViewVC logotype

Diff of /SubsystemEditor/Makefile

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

revision 1.2, Thu Jul 26 19:40:36 2007 UTC revision 1.4, Fri Dec 21 23:05:34 2007 UTC
# Line 24  Line 24 
24    
25  PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))  PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))
26    
27    PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
28    
29  PERL_LIB = $(wildcard *.pm) \  PERL_LIB = $(wildcard *.pm) \
30          $(wildcard WebPage/*.pm)          $(wildcard WebPage/*.pm)
31    
32  WEBPAGES := $(wildcard *.tmpl) \  WEBPAGES := $(wildcard *.tmpl) \
33          $(wildcard images/*.png) \          $(wildcard images/*.png) \
34          $(wildcard images/*.jpeg) \          $(wildcard images/*.jpeg) \
35          $(wildcard images/*.jpg) \          $(wildcard *.js) \
36          $(wildcard *.css)          $(wildcard *.css)
37    
38  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))
# Line 44  Line 46 
46          @echo toolhdr $(TOOL_HDR)          @echo toolhdr $(TOOL_HDR)
47  bin:  bin:
48    
49  lib:    $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB) $(foreach var, $(WEBPAGES), $(cgidir)/Html/$(var))  lib:    $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB) $(foreach var, $(WEBPAGES), $(cgidir)/Html/$(var)) rights
50    
51  htaccess_src = $(RTROOT)/config/all.htaccess  htaccess_src = $(RTROOT)/config/all.htaccess
52  htaccess_dst = $(cgidir)/.htaccess  htaccess_dst = $(cgidir)/.htaccess
# Line 69  Line 71 
71          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
72    
73  $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%  $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%
74          cp $< $(cgidir)/Html/.          cp -p $< $(cgidir)/Html/.
75    
76    
77  #  #
# Line 90  Line 92 
92          if [ ! -d $$tgt_dir ] ; then \          if [ ! -d $$tgt_dir ] ; then \
93                  mkdir $$tgt_dir; \                  mkdir $$tgt_dir; \
94          fi          fi
95          cp  $< $@          cp -p  $< $@
96    
97    rights:
98            -cd $(TOPDIR)/WebApplication/scripts; \
99            $(PERL) create_application_rights_module.pl -path $(TOPDIR) -application $(PKGNAME)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3