[m-dev.] For review: Simplified installation of user libraries

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Oct 20 09:51:03 AEST 1999


On 20-Oct-1999, Warwick Harvey <wharvey at cs.monash.edu.au> wrote:
> There are a couple more bugs in the current bindist stuff.  In particular, 
> the list of `realclean' targets in the samples and extras directory is way 
> out of date.  In order to avoid the same problem happening again, I tried to 
> fix this with a more general command:
> 
>         -dirs=`find ../samples/* ../extras/* -type d -print |   \
>                         fgrep -v CVS | fgrep -v Mercury` &&     \
>         for dir in $$dirs ; do                                  \
>                 ( cd $$dir ; mmake realclean )                  \
>         done
> 
> However, when invoked from this Mmakefile, the `realclean' targets of at 
> least one module (references/extras --- but I suspect others will also be 
> affected similarly) do not function correctly, even though they work fine 
> when invoked on their own.  The `global.realclean' target is not being 
> invoked, only the recursive `realclean's.  I didn't have time to chase this 
> down any further.

Fine, thanks for the bug report.

> These fixes would probably best be separate changes anyway.

Indeed.

> Anyway, here's a diff of the bindist changes.

A log message would be nice.

> Index: bindist/Mmakefile
> +# Miscellaneous scripts and utilities not processed by configure
>  UTILS          = $(INSTALL_PREFIX)/bin/mkinit$(EXT_FOR_EXE) \
>                   $(INSTALL_PREFIX)/bin/mdemangle$(EXT_FOR_EXE) \
> +                 $(INSTALL_PREFIX)/bin/info_to_mdb$(EXT_FOR_EXE) \
>                   $(INSTALL_PREFIX)/bin/mtags \
> -                 $(INSTALL_PREFIX)/bin/mprof_merge_runs
> +                 $(INSTALL_PREFIX)/bin/mprof_merge_runs \
> +                 $(INSTALL_PREFIX)/bin/vpath_find \
> +                 $(INSTALL_PREFIX)/bin/mercury_cleanup_install
> --- bindist.Makefile.in 1999/03/16 06:11:36     1.19
> +++ bindist.Makefile.in 1999/10/19 14:45:09
...
> +# Any miscellaneous scripts and utilities not processed by configure
>  UTILS                  = util/mdemangle util/mkinit util/mtags \
> -                         util/mprof_merge_runs
> +                         util/mprof_merge_runs util/vpath_find \
> +                         util/info_to_mdb util/mercury_cleanup_install

Hmm, do info_do_mdb and vpath_find need to be installed?
They are only used during the source installation, I believe.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list