[Bio] / FigKernelPackages / Makefile Repository:
ViewVC logotype

View of /FigKernelPackages/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (download) (annotate)
Fri Apr 12 20:11:17 2013 UTC (6 years, 11 months ago) by olson
Branch: MAIN
CVS Tags: rast_rel_2014_0912, rast_rel_2014_0729, HEAD
Changes since 1.14: +5 -0 lines
Changes from pangenome work.

#
#
#


PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
RUNTIME_BINDIR = $(shell $(PERL) -MConfig -e 'print "$$Config{bin}\n"')

PERLPACKAGES := $(wildcard *.pm)
PYPACKAGES := $(wildcard *.py)

TEST_FILES = $(wildcard tests/*.t)

lib: lib_perl lib_py # html_doc

lib_perl:	$(foreach var, $(PERLPACKAGES), $(libdir)/$(PKGNAME)/$(var))
lib_py:	$(foreach var, $(PYPACKAGES), $(libdir)/$(PKGNAME)/$(var))

html_doc:

bin:

schematools:
stDeclFiles:
stGeneratedFiles:

compile_typespec:
	/vol/kbase/deployment/bin/compile_typespec \
		--psgi seed.psgi \
		SEED.spec .
	mv seed.psgi ../FigWebServices/.

test:
	$(PERL) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE))" $(TEST_FILES)

clean:

html_doc_dir:
	if [ ! -d $(cgidir)/Html/pod_docs  ] ; then mkdir $(cgidir)/Html/pod_docs; fi

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

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

#
# We have a config problem at the moment.  I do not want to depend
# upon explicit calls to other packages, as done here nor do I want
# to assume that package was built first.  For now, we live with this.

#$(workdir)/FIG_Config.pm:
#	cd $(workdir); $(TOPDIR)/FigCommon/configure-env $(RTARCH) $(TOPDIR)

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


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3