[Bio] / RAST / Makefile Repository:
ViewVC logotype

Diff of /RAST/Makefile

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

revision 1.2, Fri Dec 14 15:48:55 2007 UTC revision 1.3, Sun Dec 16 10:05:57 2007 UTC
# Line 36  Line 36 
36    
37  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))
38    
39  all: lib  PERL_BIN_SRC := $(wildcard *.pl)
40    PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))
41    
42    
43    all: lib bin
44    
45  show:  show:
46          @echo cgis $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var))          @echo cgis $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var))
47          @echo top $(TOPDIR)          @echo top $(TOPDIR)
48          @echo pkg $(PKGNAME)          @echo pkg $(PKGNAME)
49          @echo toolhdr $(TOOL_HDR)          @echo toolhdr $(TOOL_HDR)
50  bin:  bin: $(foreach var, $(PERL_BIN), $(bindir)/$(var))
51    
52  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
53    
# Line 60  Line 64 
64  schematools:  schematools:
65  stDeclFiles:  stDeclFiles:
66  stGeneratedFiles:  stGeneratedFiles:
   
   
67  test:  test:
   
68  clean:  clean:
69    
70  $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)  $(cgidir)/%: $(TOPDIR)/$(PKGNAME)/% $(TOOL_HDR)
# Line 72  Line 73 
73  $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%  $(cgidir)/Html/%: $(TOPDIR)/$(PKGNAME)/%
74          cp -p $< $(cgidir)/Html/.          cp -p $< $(cgidir)/Html/.
75    
76    $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
77            ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
78    
79    
80  #  #
81  # 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

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3