[Bio] / FigKernelPackages / Makefile Repository:
ViewVC logotype

View of /FigKernelPackages/Makefile

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.10 - (download) (annotate)
Fri Jun 20 19:06:30 2008 UTC (11 years, 9 months ago) by golsen
Branch: MAIN
CVS Tags: rast_rel_2008_07_21, rast_2008_0924, rast_rel_2008_09_30, mgrast_rel_2008_0924, mgrast_rel_2008_1110_v2, mgrast_rel_2008_0625, rast_rel_2008_10_09, rast_release_2008_09_29, mgrast_rel_2008_0806, mgrast_rel_2008_0923, mgrast_rel_2008_0919, mgrast_rel_2008_1110, rast_rel_2008_09_29, mgrast_rel_2008_0917, rast_rel_2008_10_29, rast_rel_2008_08_07
Changes since 1.9: +1 -1 lines
Fix to path for pod2html


PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
POD2HTML = $(PERL) $(shell echo $(PERL) | sed 's/perl$$/pod2html/')

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

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: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))





	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  $< $@

$(cgidir)/Html/pod_docs/%.html: $(TOPDIR)/$(PKGNAME)/%.pm
	-$(POD2HTML) --outfile $@ $<

# 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.

#	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