[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Diff of /Sprout/Makefile

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

revision 1.17, Thu Feb 8 22:02:18 2007 UTC revision 1.20, Fri Jun 20 19:12:22 2008 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    POD2HTML = $(PERL) $(shell echo $(PERL) | sed 's/perl$$/pod2html/')
4    
5  PERLPACKAGES := $(wildcard *.pm)  PERLPACKAGES := $(wildcard *.pm)
6  PERLSCRIPTS := $(wildcard *.pl)  PERLSCRIPTS := $(wildcard *.pl)
# Line 35  Line 38 
38          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
39    
40  $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm  $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
41          -$(FIG_HOME)/env/$(RTARCH)/bin/perl $(FIG_HOME)/env/$(RTARCH)/bin/pod2html --outfile $@ $<          -$(POD2HTML) --outfile $@ $<
42    
43  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm  $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
44          cp -p  $< $@          cp  $< $@
45    
46  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)  $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
47          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )          ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
48    
49  $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src  $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src
50          cp -p $< $@          cp $< $@
51    
52  $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png  $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png
53          cp -p $< $@          cp $< $@

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.20

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3