[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Annotation of /Sprout/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.22 - (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 : parrello 1.22 JAVASCRIPT := $(wildcard *.js)
11 : olson 1.1
12 :     INSTALL_PACKAGE = FigKernelPackages
13 :    
14 : parrello 1.22 lib: lib_pm bin xml search js htaccess
15 : parrello 1.9
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.22 js: $(foreach var, $(notdir $(JAVASCRIPT)), $(cgidir)/Html/$(var))
23 :    
24 : parrello 1.15 search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png
25 :    
26 : parrello 1.22 htaccess: $(cgidir)/.htaccess
27 :    
28 : parrello 1.11 $(RTROOT)/FIG/%.xml: %.xml
29 : olson 1.17 -rm -f $@
30 : parrello 1.14 cp $< $@
31 : olson 1.10
32 : olson 1.1
33 :     schematools:
34 : olson 1.2 stDeclFiles:
35 :     stGeneratedFiles:
36 : olson 1.1
37 :     test:
38 :    
39 :     clean:
40 :    
41 : parrello 1.9 html_doc_dir:
42 :     if [ ! -d $(cgidir)/Html/pod_docs ] ; then mkdir $(cgidir)/Html/pod_docs; fi
43 :    
44 :     $(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
45 : olson 1.19 -$(POD2HTML) --outfile $@ $<
46 : parrello 1.9
47 :     $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
48 : parrello 1.15 ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
49 : parrello 1.22 # ( cat $(TOOL_HDR) $< > $@ )
50 : parrello 1.15
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 $< $@
56 : parrello 1.22
57 :     $(cgidir)/Html/%.js: $(TOPDIR)/$(PKGNAME)/%.js
58 :     cp $< $@
59 :    
60 :     $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
61 :     cp $< $@
62 :    
63 :     $(cgidir)/.htaccess: $(TOPDIR)/$(PKGNAME)/fig.htaccess
64 :     cp $< $@

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3