[Bio] / Wiki / Makefile Repository:
ViewVC logotype

Annotation of /Wiki/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (view) (download)

1 : parrello 1.1 #
2 :     # Copyright (c) 2003-2006 University of Chicago and Fellowship
3 :     # for Interpretations of Genomes. All Rights Reserved.
4 :     #
5 :     # This file is part of the SEED Toolkit.
6 :     #
7 :     # The SEED Toolkit is free software. You can redistribute
8 :     # it and/or modify it under the terms of the SEED Toolkit
9 :     # Public License.
10 :     #
11 :     # You should have received a copy of the SEED Toolkit Public License
12 :     # along with this program; if not write to the University of Chicago
13 :     # at info@ci.uchicago.edu or the Fellowship for Interpretation of
14 :     # Genomes at veronika@thefig.info or download a copy from
15 :     # http://www.theseed.org/LICENSE.TXT.
16 :     #
17 :    
18 :     #
19 :     # seed_running_perl.fragement is the piece of perl code that
20 :     # checks to see if the seed server is up, and prints a message and returns
21 :     # if it is not.
22 :     #
23 :    
24 :     PERL_LIB = \
25 :     $(wildcard lib/*.pm) \
26 :     $(wildcard lib/TWiki/*.pm) \
27 :     $(wildcard lib/TWiki/Users/*.pm) \
28 :     $(wildcard lib/TWiki/UI/*.pm) \
29 :     $(wildcard lib/TWiki/Store/*.pm) \
30 :     $(wildcard lib/TWiki/Store/SearchAlgorithms/*.pm) \
31 :     $(wildcard lib/TWiki/Prefs/*.pm) \
32 :     $(wildcard lib/TWiki/Plugins/*.pm) \
33 :     $(wildcard lib/TWiki/Plugins/WysiwygPlugin/*.pm) \
34 :     $(wildcard lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/*.pm) \
35 :     $(wildcard lib/TWiki/Plugins/TWikiDrawPlugin/*.pm) \
36 :     $(wildcard lib/TWiki/Plugins/TablePlugin/*.pm) \
37 :     $(wildcard lib/TWiki/Plugins/SpreadSheetPlugin/*.pm) \
38 :     $(wildcard lib/TWiki/Plugins/SlideShowPlugin/*.pm) \
39 :     $(wildcard lib/TWiki/Plugins/PodPlugin/*.pm) \
40 :     $(wildcard lib/TWiki/Plugins/NmpdrPlugin/*.pm) \
41 :     $(wildcard lib/TWiki/Plugins/EditTablePlugin/*.pm) \
42 :     $(wildcard lib/TWiki/Plugins/CommentPlugin/*.pm) \
43 :     $(wildcard lib/TWiki/I18N/*.pm) \
44 :     $(wildcard lib/TWiki/Data/*.pm) \
45 :     $(wildcard lib/TWiki/Contrib/*.pm) \
46 :     $(wildcard lib/TWiki/Contrib/MailerContrib/*.pm) \
47 :     $(wildcard lib/TWiki/Configure/*.pm) \
48 :     $(wildcard lib/TWiki/Configure/UIs/*.pm) \
49 :     $(wildcard lib/TWiki/Configure/Types/*.pm) \
50 :     $(wildcard lib/TWiki/Configure/Checkers/*.pm) \
51 :     $(wildcard lib/TWiki/Configure/Checkers/Site/*.pm) \
52 :     $(wildcard lib/TWiki/Configure/Checkers/Sessions/*.pm) \
53 :     $(wildcard lib/TWiki/Configure/Checkers/RCS/*.pm) \
54 :     $(wildcard lib/TWiki/Configure/Checkers/Htpasswd/*.pm) \
55 :     $(wildcard lib/TWiki/Client/*.pm) \
56 :     $(wildcard lib/Output/*.pm) \
57 :     $(wildcard lib/HFile/*.pm) \
58 :     $(wildcard lib/CPAN/*.pm) \
59 :     $(wildcard lib/CPAN/lib/*.pm) \
60 :     $(wildcard lib/CPAN/lib/Text/*.pm) \
61 :     $(wildcard lib/CPAN/lib/Pod/*.pm) \
62 :     $(wildcard lib/CPAN/lib/Pod/Simple/*.pm) \
63 :     $(wildcard lib/CPAN/lib/Pod/Simple/Wiki/*.pm) \
64 :     $(wildcard lib/CPAN/lib/Parse/*.pm) \
65 :     $(wildcard lib/CPAN/lib/Locale/*.pm) \
66 :     $(wildcard lib/CPAN/lib/Locale/Maketext/*.pm) \
67 :     $(wildcard lib/CPAN/lib/Locale/Maketext/Lexicon/*.pm) \
68 :     $(wildcard lib/CPAN/lib/Locale/Maketext/Extract/*.pm) \
69 :     $(wildcard lib/CPAN/lib/Algorithm/*.pm) \
70 :     $(wildcard lib/Beautifier/*.pm)
71 :    
72 :     PERL_SERVICES = \
73 :     $(wildcard bin/*.cgi) \
74 :     $(wildcard bin/*.cfg)
75 :    
76 :     PERL_DATA = \
77 :     $(wildcard locale/*.*) \
78 :     $(wildcard templates/*.*)
79 :    
80 :     PERL_SCRIPTS = \
81 :     $(wildcard tools/*.pl)
82 :    
83 :     all: lib
84 :    
85 :     lib: lib_pm data_files htaccess_files services_cgi
86 :    
87 :     lib_pm: $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))
88 :    
89 :     services_cgi: $(foreach var, $(PERL_SERVICES), $(subst bin/,,$(cgidir)/wiki/$(var)))
90 :    
91 :     data_files: $(foreach var, $(PERL_DATA), $(cgidir)/wiki/$(var))
92 :    
93 :     scripts: $(foreach var, $(PERL_SCRIPTS), $(subst .pl,,$(subst tools/,,$(bindir)/$(var))))
94 :    
95 :     show:
96 :     @echo over $(OVERRIDES)
97 :     @echo cgis $(cgidir)
98 :     @echo top $(TOPDIR)
99 :     @echo pkg $(PKGNAME)
100 :     @echo toolhdr $(TOOL_HDR)
101 :    
102 :     bin:
103 :    
104 :     htaccess_files: $(cgidir)/wiki/.htaccess $(cgidir)/wiki/.htpasswd \
105 :     $(cgidir)/wiki/LocalLib.cfg $(cgidir)/wiki/setlib.cfg \
106 :     $(libdir)/Wiki/lib/TWiki.spec $(libdir)/Wiki/lib/DEPENDENCIES \
107 :     $(libdir)/Wiki/lib/LocalSite.cfg $(cgidir)/wiki/pub/.htaccess
108 :    
109 :     force:
110 :    
111 :     schematools:
112 :    
113 :     stDeclFiles:
114 :    
115 :     stGeneratedFiles:
116 :    
117 :     test:
118 :    
119 :     clean:
120 :    
121 :     $(cgidir)/wiki/.htaccess: $(TOPDIR)/$(PKGNAME)/bin/txt.htaccess
122 :     cp $< $@
123 :    
124 :     $(cgidir)/wiki/.htpasswd: $(TOPDIR)/$(PKGNAME)/bin/txt.htpasswd
125 :     cp $< $@
126 :    
127 :     $(cgidir)/wiki/pub/.htaccess: $(TOPDIR)/$(PKGNAME)/bin/pub.htaccess
128 :     cp $< $@
129 :    
130 :     $(cgidir)/wiki/%.tmpl: $(TOPDIR)/$(PKGNAME)/%.tmpl
131 :     cp $< $@
132 :    
133 :     $(cgidir)/wiki/locale/%: $(TOPDIR)/$(PKGNAME)/locale/%
134 :     cp $< $@
135 :    
136 :     $(cgidir)/wiki/%.cgi: $(TOPDIR)/$(PKGNAME)/bin/%.cgi $(TOOL_HDR)
137 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
138 :    
139 :     $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
140 :     -test -f $@ && mv $@ $@.del
141 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
142 :     -test -f $@.del && rm -f $@.del
143 :    
144 :     $(cgidir)/wiki/%.cfg: $(TOPDIR)/$(PKGNAME)/bin/%.cfg
145 :     cp $< $@
146 :    
147 :     $(libdir)/$(PKGNAME)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
148 :     cp $< $@
149 :    
150 :     $(libdir)/$(PKGNAME)/lib/%.spec: $(TOPDIR)/$(PKGNAME)/lib/%.spec
151 :     cp $< $@
152 :    
153 :     $(libdir)/$(PKGNAME)/lib/%.cfg: $(TOPDIR)/$(PKGNAME)/lib/%.cfg
154 :     cp $< $@
155 :    
156 :     $(libdir)/$(PKGNAME)/lib/DEPENDENCIES: $(TOPDIR)/$(PKGNAME)/lib/DEPENDENCIES
157 :     cp $< $@
158 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3