[Bio] / Sprout / Makefile Repository:
ViewVC logotype

View of /Sprout/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.20 - (download) (annotate)
Fri Jun 20 19:12:22 2008 UTC (11 years, 5 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.19: +2 -1 lines
Fix to path for pod2html

PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
# POD2HTML = $(PERL) $(shell $(PERL) -MConfig -e 'print "$$Config{installbin}/pod2html\n"')
POD2HTML = $(PERL) $(shell echo $(PERL) | sed 's/perl$$/pod2html/')

PERLPACKAGES := $(wildcard *.pm)
PERLSCRIPTS := $(wildcard *.pl)
ERDBS := $(wildcard *DBD.xml)

INSTALL_PACKAGE = FigKernelPackages

lib: html_doc lib_pm bin xml search

html_doc: html_doc_dir $(foreach var, $(subst .pm,.html, $(PERLPACKAGES)), $(cgidir)/Html/pod_docs/$(var))


lib_pm:	$(foreach var, $(notdir $(PERLPACKAGES)), $(libdir)/$(INSTALL_PACKAGE)/$(var))

bin:	$(foreach var, $(subst .pl,,$(notdir $(PERLSCRIPTS))), $(bindir)/$(var))

xml:  $(foreach var, $(notdir $(ERDBS)), $(RTROOT)/FIG/$(var))

search: $(cgidir)/NmpdrSearch.src $(cgidir)/NmpdrSearch.png

$(RTROOT)/FIG/%.xml: %.xml
	-rm -f $@
	cp $< $@


schematools:
stDeclFiles:
stGeneratedFiles:

test:

clean:

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

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

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

$(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
	( cat $(TOOL_HDR) $< > $@; chmod +x $@ )

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

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

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3