[Bio] / Wiki / Makefile.proto Repository:
ViewVC logotype

Annotation of /Wiki/Makefile.proto

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (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 :     ###LIBDIRS
26 :    
27 :    
28 :     PERL_SERVICES = \
29 :     $(wildcard bin/*.cgi) \
30 :     $(wildcard bin/*.cfg)
31 :    
32 :     PERL_DATA = \
33 :     $(wildcard locale/*.*) \
34 :     $(wildcard templates/*.*)
35 :    
36 :     PERL_SCRIPTS = \
37 :     $(wildcard tools/*.pl)
38 :    
39 :     all: lib
40 :    
41 :     lib: lib_pm data_files htaccess_files services_cgi
42 :    
43 :     lib_pm: $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))
44 :    
45 :     services_cgi: $(foreach var, $(PERL_SERVICES), $(subst bin/,,$(cgidir)/wiki/$(var)))
46 :    
47 :     data_files: $(foreach var, $(PERL_DATA), $(cgidir)/wiki/$(var))
48 :    
49 :     scripts: $(foreach var, $(PERL_SCRIPTS), $(subst .pl,,$(subst tools/,,$(bindir)/$(var))))
50 :    
51 :     show:
52 :     @echo over $(OVERRIDES)
53 :     @echo cgis $(cgidir)
54 :     @echo top $(TOPDIR)
55 :     @echo pkg $(PKGNAME)
56 :     @echo toolhdr $(TOOL_HDR)
57 :    
58 :     bin:
59 :    
60 :     htaccess_files: $(cgidir)/wiki/.htaccess $(cgidir)/wiki/.htpasswd \
61 :     $(cgidir)/wiki/LocalLib.cfg $(cgidir)/wiki/setlib.cfg \
62 :     $(libdir)/Wiki/lib/TWiki.spec $(libdir)/Wiki/lib/DEPENDENCIES \
63 :     $(libdir)/Wiki/lib/LocalSite.cfg $(cgidir)/wiki/pub/.htaccess
64 :    
65 :     force:
66 :    
67 :     schematools:
68 :    
69 :     stDeclFiles:
70 :    
71 :     stGeneratedFiles:
72 :    
73 :     test:
74 :    
75 :     clean:
76 :    
77 :     $(cgidir)/wiki/.htaccess: $(TOPDIR)/$(PKGNAME)/bin/txt.htaccess
78 :     cp $< $@
79 :    
80 :     $(cgidir)/wiki/.htpasswd: $(TOPDIR)/$(PKGNAME)/bin/txt.htpasswd
81 :     cp $< $@
82 :    
83 :     $(cgidir)/wiki/pub/.htaccess: $(TOPDIR)/$(PKGNAME)/bin/pub.htaccess
84 :     cp $< $@
85 :    
86 :     $(cgidir)/wiki/%.tmpl: $(TOPDIR)/$(PKGNAME)/%.tmpl
87 :     cp $< $@
88 :    
89 :     $(cgidir)/wiki/locale/%: $(TOPDIR)/$(PKGNAME)/locale/%
90 :     cp $< $@
91 :    
92 :     $(cgidir)/wiki/%.cgi: $(TOPDIR)/$(PKGNAME)/bin/%.cgi $(TOOL_HDR)
93 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
94 :    
95 :     $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
96 :     -test -f $@ && mv $@ $@.del
97 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
98 :     -test -f $@.del && rm -f $@.del
99 :    
100 :     $(cgidir)/wiki/%.cfg: $(TOPDIR)/$(PKGNAME)/bin/%.cfg
101 :     cp $< $@
102 :    
103 :     $(libdir)/$(PKGNAME)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
104 :     cp $< $@
105 :    
106 : parrello 1.2 $(libdir)/$(PKGNAME)/%.pod: $(TOPDIR)/$(PKGNAME)/%.pod
107 :     cp $< $@
108 :    
109 : parrello 1.1 $(libdir)/$(PKGNAME)/lib/%.spec: $(TOPDIR)/$(PKGNAME)/lib/%.spec
110 :     cp $< $@
111 :    
112 :     $(libdir)/$(PKGNAME)/lib/%.cfg: $(TOPDIR)/$(PKGNAME)/lib/%.cfg
113 :     cp $< $@
114 :    
115 :     $(libdir)/$(PKGNAME)/lib/DEPENDENCIES: $(TOPDIR)/$(PKGNAME)/lib/DEPENDENCIES
116 :     cp $< $@
117 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3