|  Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors 
 
 
 | [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Getting modules to integrate themselves into .geomview
 
OK, how about this.  A typical "make install" rule
(in src/bin/<module>/O.<machtype>/Makefile) currently looks something like:
	install:	install_bin
	install_bin:	someprog
		${INSTALL} ...
Let's make these look like this:
	install:	install_bin  install_module
	install_bin:
		... etc. just as before ...
	install_module:
		rm -f .geomview-someprog
		echo '(emodule-define "name" "command")' > .geomview-someprog
		${INSTALL} -O -v -F ${GEOM}/bin/${MACHTYPE} .geomview-someprog
		(cd ${GEOM}; tools/gather-modules)
[I've done this for eucsyms, trigrp, and graffiti.  I haven't done it for
nose, nor for any of the separately-distributed modules.]
This will take care of source distributions.  "tools/gather-modules"
scans the bin/${MACHTYPE} directory for .geomview* files, appends them to
data/.geomview-modules, and eliminates duplicates.  So we can just start
distributing .geomview files which include .geomview-modules rather than
defining everything internally.
For binary distributions, we package "bin/sgi/.geomview-someprog"
along with "bin/sgi/someprog" and tell people to run "tools/gather-modules"
after unpacking.
 
 | ||
| Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors | |||
| site hosted by | |||