[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Annotation of /Sprout/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (view) (download)

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3