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

View of /Wiki/Makefile.proto

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (annotate)
Wed Feb 27 02:14:59 2008 UTC (11 years, 7 months ago) by parrello
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -0 lines
Added support for POD files.

#
# Copyright (c) 2003-2006 University of Chicago and Fellowship
# for Interpretations of Genomes. All Rights Reserved.
#
# This file is part of the SEED Toolkit.
#
# The SEED Toolkit is free software. You can redistribute
# it and/or modify it under the terms of the SEED Toolkit
# Public License.
#
# You should have received a copy of the SEED Toolkit Public License
# along with this program; if not write to the University of Chicago
# at info@ci.uchicago.edu or the Fellowship for Interpretation of
# Genomes at veronika@thefig.info or download a copy from
# http://www.theseed.org/LICENSE.TXT.
#

#
# seed_running_perl.fragement is the piece of perl code that
# checks to see if the seed server is up, and prints a message and returns
# if it is not.
#

PERL_LIB = \
###LIBDIRS


PERL_SERVICES = \
    $(wildcard bin/*.cgi) \
    $(wildcard bin/*.cfg)

PERL_DATA = \
    $(wildcard locale/*.*) \
    $(wildcard templates/*.*)

PERL_SCRIPTS = \
    $(wildcard tools/*.pl)

all: lib

lib: lib_pm data_files htaccess_files services_cgi

lib_pm: $(foreach var, $(PERL_LIB), $(libdir)/$(PKGNAME)/$(var))

services_cgi: $(foreach var, $(PERL_SERVICES), $(subst bin/,,$(cgidir)/wiki/$(var)))

data_files: $(foreach var, $(PERL_DATA), $(cgidir)/wiki/$(var))

scripts: $(foreach var, $(PERL_SCRIPTS), $(subst .pl,,$(subst tools/,,$(bindir)/$(var))))

show:
	@echo over $(OVERRIDES)
	@echo cgis $(cgidir)
	@echo top $(TOPDIR)
	@echo pkg $(PKGNAME)
	@echo toolhdr $(TOOL_HDR)

bin:

htaccess_files: $(cgidir)/wiki/.htaccess $(cgidir)/wiki/.htpasswd \
                $(cgidir)/wiki/LocalLib.cfg $(cgidir)/wiki/setlib.cfg \
                $(libdir)/Wiki/lib/TWiki.spec $(libdir)/Wiki/lib/DEPENDENCIES \
                $(libdir)/Wiki/lib/LocalSite.cfg $(cgidir)/wiki/pub/.htaccess

force:

schematools:

stDeclFiles:

stGeneratedFiles:

test:

clean:

$(cgidir)/wiki/.htaccess: $(TOPDIR)/$(PKGNAME)/bin/txt.htaccess
	cp $< $@

$(cgidir)/wiki/.htpasswd: $(TOPDIR)/$(PKGNAME)/bin/txt.htpasswd
	cp $< $@

$(cgidir)/wiki/pub/.htaccess: $(TOPDIR)/$(PKGNAME)/bin/pub.htaccess
	cp $< $@

$(cgidir)/wiki/%.tmpl: $(TOPDIR)/$(PKGNAME)/%.tmpl
	cp $< $@

$(cgidir)/wiki/locale/%: $(TOPDIR)/$(PKGNAME)/locale/%
	cp $< $@

$(cgidir)/wiki/%.cgi: $(TOPDIR)/$(PKGNAME)/bin/%.cgi $(TOOL_HDR)
	( cat $(TOOL_HDR) $< > $@; chmod +x $@ )

$(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
	-test -f $@ && mv $@ $@.del
	( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
	-test -f $@.del && rm -f $@.del

$(cgidir)/wiki/%.cfg: $(TOPDIR)/$(PKGNAME)/bin/%.cfg
	cp  $< $@

$(libdir)/$(PKGNAME)/%.pm: $(TOPDIR)/$(PKGNAME)/%.pm
	cp  $< $@

$(libdir)/$(PKGNAME)/%.pod: $(TOPDIR)/$(PKGNAME)/%.pod
	cp  $< $@

$(libdir)/$(PKGNAME)/lib/%.spec: $(TOPDIR)/$(PKGNAME)/lib/%.spec
	cp  $< $@

$(libdir)/$(PKGNAME)/lib/%.cfg: $(TOPDIR)/$(PKGNAME)/lib/%.cfg
	cp  $< $@

$(libdir)/$(PKGNAME)/lib/DEPENDENCIES: $(TOPDIR)/$(PKGNAME)/lib/DEPENDENCIES
	cp  $< $@


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3