[Bio] / Sprout / Makefile Repository:
ViewVC logotype

Annotation of /Sprout/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.24 - (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 : olson 1.1
4 : parrello 1.9 PERLPACKAGES := $(wildcard *.pm)
5 :     PERLSCRIPTS := $(wildcard *.pl)
6 : parrello 1.11 ERDBS := $(wildcard *DBD.xml)
7 : parrello 1.22 JAVASCRIPT := $(wildcard *.js)
8 : olson 1.1
9 :     INSTALL_PACKAGE = FigKernelPackages
10 :    
11 : parrello 1.22 lib: lib_pm bin xml search js htaccess
12 : parrello 1.9
13 :     lib_pm: $(foreach var, $(notdir $(PERLPACKAGES)), $(libdir)/$(INSTALL_PACKAGE)/$(var))
14 :    
15 :     bin: $(foreach var, $(subst .pl,,$(notdir $(PERLSCRIPTS))), $(bindir)/$(var))
16 : olson 1.1
17 : parrello 1.11 xml: $(foreach var, $(notdir $(ERDBS)), $(RTROOT)/FIG/$(var))
18 : olson 1.10
19 : parrello 1.22 js: $(foreach var, $(notdir $(JAVASCRIPT)), $(cgidir)/Html/$(var))
20 :    
21 : parrello 1.15 search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png
22 :    
23 : parrello 1.22 htaccess: $(cgidir)/.htaccess
24 :    
25 : parrello 1.11 $(RTROOT)/FIG/%.xml: %.xml
26 : olson 1.17 -rm -f $@
27 : parrello 1.14 cp $< $@
28 : olson 1.10
29 : olson 1.1
30 :     schematools:
31 : olson 1.2 stDeclFiles:
32 :     stGeneratedFiles:
33 : olson 1.1
34 :     test:
35 :    
36 :     clean:
37 :    
38 : parrello 1.9 html_doc_dir:
39 :     if [ ! -d $(cgidir)/Html/pod_docs ] ; then mkdir $(cgidir)/Html/pod_docs; fi
40 :    
41 :     $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
42 : parrello 1.15 ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
43 : parrello 1.22 # ( cat $(TOOL_HDR) $< > $@ )
44 : parrello 1.15
45 :     $(cgidir)/%.src: $(TOPDIR)/$(PKGNAME)/%.src
46 : parrello 1.18 cp $< $@
47 : parrello 1.15
48 :     $(cgidir)/%.png: $(TOPDIR)/$(PKGNAME)/%.png
49 : parrello 1.18 cp $< $@
50 : parrello 1.22
51 :     $(cgidir)/Html/%.js: $(TOPDIR)/$(PKGNAME)/%.js
52 :     cp $< $@
53 :    
54 :     $(libdir)/$(INSTALL_PACKAGE)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
55 : parrello 1.23 cp $< $@
56 : parrello 1.22
57 :     $(cgidir)/.htaccess: $(TOPDIR)/$(PKGNAME)/fig.htaccess
58 :     cp $< $@

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3