[Bio] / Sprout / Makefile Repository:
ViewVC logotype

View of /Sprout/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (download) (annotate)
Tue Dec 4 20:09:03 2007 UTC (12 years ago) by olson
Branch: MAIN
CVS Tags: rast_rel_2008_06_18, rast_rel_2008_06_16, rast_rel_2008_04_23
Changes since 1.18: +3 -1 lines
Rollup of release engineering changes that shoudl  make multi-architecture
installs happier.

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

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