[Bio] / SubsystemEditor / Makefile Repository:
ViewVC logotype

Diff of /SubsystemEditor/Makefile

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

revision 1.6, Wed May 7 16:25:34 2008 UTC revision 1.8, Wed Jun 16 21:57:34 2010 UTC
# Line 46  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)) rights  lib:    $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB) $(foreach var, $(WEBPAGES), $(cgidir)/Html/$(var)) rights fix_web_perms
50    
51    fix_web_perms:
52    ifneq (,$(findstring public_html, $(cgidir)))
53            chmod go-w $(cgidir)
54    endif
55    
56    
57  htaccess_src = $(RTROOT)/config/all.htaccess  htaccess_src = $(RTROOT)/config/all.htaccess
58  htaccess_dst = $(cgidir)/.htaccess  htaccess_dst = $(cgidir)/.htaccess
# Line 69  Line 75 
75    
76  $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)  $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)
77          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
78    ifneq (,$(findstring public_html, $(cgidir)))
79            chmod go-w $@
80    endif
81    
82  $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%  $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%
83          cp $< $(cgidir)/Html/.          cp $< $(cgidir)/Html/.
# Line 92  Line 101 
101          if [ ! -d $$tgt_dir ] ; then \          if [ ! -d $$tgt_dir ] ; then \
102                  mkdir $$tgt_dir; \                  mkdir $$tgt_dir; \
103          fi          fi
104          cp -p  $< $@          cp  $< $@
105    
106  rights:  rights:

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3