[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Diff of /Sprout/Makefile

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

revision 1.16, Wed Aug 16 03:37:02 2006 UTC revision 1.19, Tue Dec 4 20:09:03 2007 UTC
# Line 1  Line 1 
1    PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
2    POD2HTML = $(PERL) $(shell $(PERL) -MConfig -e 'print "$$Config{installbin}/pod2html\n"')
3    
4  PERLPACKAGES := $(wildcard *.pm)  PERLPACKAGES := $(wildcard *.pm)
5  PERLSCRIPTS := $(wildcard *.pl)  PERLSCRIPTS := $(wildcard *.pl)
# Line 19  Line 21 
21  search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png  search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png
22    
23  $(RTROOT)/FIG/%.xml: %.xml  $(RTROOT)/FIG/%.xml: %.xml
24            -rm -f $@
25          cp $< $@          cp $< $@
26    
27    
# Line 34  Line 37 
37          if [ ! -d $(cgidir)/Html/pod_docs  ] ; then mkdir $(cgidir)/Html/pod_docs; fi          if [ ! -d $(cgidir)/Html/pod_docs  ] ; then mkdir $(cgidir)/Html/pod_docs; fi
38    
39  $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm  $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
40          -$(FIG_HOME)/env/$(RTARCH)/bin/perl $(FIG_HOME)/env/$(RTARCH)/bin/pod2html --outfile $@ $<          -$(POD2HTML) --outfile $@ $<
41    
42  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
43          cp -p  $< $@          cp  $< $@
44    
45  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
46          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
47    
48  $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src  $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src
49          cp -p $< $@          cp $< $@
50    
51  $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png  $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png
52          cp -p $< $@          cp $< $@

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.19

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3