[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Annotation of /Sprout/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.20 - (view) (download)

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3