[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Annotation of /Sprout/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (view) (download)

1 : olson 1.19 PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
2 : olson 1.21 RUNTIME_BINDIR = $(shell $(PERL) -MConfig -e 'print "$$Config{bin}\n"')
3 :     POD2HTML = $(PERL) $(RUNTIME_BINDIR)/pod2html
4 :     ## POD2HTML = $(PERL) $(shell $(PERL) -MConfig -e 'print "$$Config{installbin}/pod2html\n"')
5 :     #POD2HTML = $(PERL) $(shell echo $(PERL) | sed 's/perl$$/pod2html/')
6 : olson 1.1
7 : parrello 1.9 PERLPACKAGES := $(wildcard *.pm)
8 :     PERLSCRIPTS := $(wildcard *.pl)
9 : parrello 1.11 ERDBS := $(wildcard *DBD.xml)
10 : olson 1.1
11 :     INSTALL_PACKAGE = FigKernelPackages
12 :    
13 : parrello 1.15 lib: html_doc lib_pm bin xml search
14 : olson 1.1
15 : parrello 1.9 html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))
16 :    
17 :    
18 :     lib_pm: $(foreach var, $(notdir $(PERLPACKAGES)), $(libdir)/$(INSTALL_PACKAGE)/$(var))
19 :    
20 :     bin: $(foreach var, $(subst .pl,,$(notdir $(PERLSCRIPTS))), $(bindir)/$(var))
21 : olson 1.1
22 : parrello 1.11 xml: $(foreach var, $(notdir $(ERDBS)), $(RTROOT)/FIG/$(var))
23 : olson 1.10
24 : parrello 1.15 search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png
25 :    
26 : parrello 1.11 $(RTROOT)/FIG/%.xml: %.xml
27 : olson 1.17 -rm -f $@
28 : parrello 1.14 cp $< $@
29 : olson 1.10
30 : olson 1.1
31 :     schematools:
32 : olson 1.2 stDeclFiles:
33 :     stGeneratedFiles:
34 : olson 1.1
35 :     test:
36 :    
37 :     clean:
38 :    
39 : parrello 1.9 html_doc_dir:
40 :     if [ ! -d $(cgidir)/Html/pod_docs ] ; then mkdir $(cgidir)/Html/pod_docs; fi
41 :    
42 :     $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
43 : olson 1.19 -$(POD2HTML) --outfile $@ $<
44 : parrello 1.9
45 :     $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
46 : parrello 1.18 cp $< $@
47 : olson 1.1
48 : parrello 1.9 $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
49 : parrello 1.15 ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
50 :    
51 :     $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src
52 : parrello 1.18 cp $< $@
53 : parrello 1.15
54 :     $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png
55 : parrello 1.18 cp $< $@

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3