[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.2, Tue Nov 14 17:26:14 2006 UTC
# Line 24  Line 24 
24    
25  PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))  PERLCGISCRIPTS := $(subst .pl,,$(wildcard *.cgi))
26    
27    PERL_BIN_SRC = check_jobs.pl
28    
29  PERL_LIB = \  PERL_LIB = \
30          WebPage/Login.pm \          WebPage/Login.pm \
31          WebPage/UserManagement.pm \          WebPage/UserManagement.pm \
32          WebPage/Nosuchpage.pm          WebPage/Nosuchpage.pm
33    
34  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))  INST_PERL_LIB = $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))
35    PERL_BIN = $(subst .pl,, $(PERL_BIN_SRC))
36    INST_PERL_BIN = $(foreach var, $(PERL_BIN), $(bindir)/$(var))
37    
38  all: lib  all: lib
39    
# Line 38  Line 42 
42          @echo top $(TOPDIR)          @echo top $(TOPDIR)
43          @echo pkg $(PKGNAME)          @echo pkg $(PKGNAME)
44          @echo toolhdr $(TOOL_HDR)          @echo toolhdr $(TOOL_HDR)
45  bin:  
46    bin: $(INST_PERL_BIN)
47    
48  lib:    $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB)  lib:    $(foreach var, $(PERLCGISCRIPTS), $(cgidir)/$(var)) copy_htaccess $(INST_PERL_LIB)
49    
# Line 84  Line 89 
89          fi          fi
90          cp -p  $< $@          cp -p  $< $@
91    
92    $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
93            ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
94    

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3