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

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Oct 4 00:17:57 AEST 1999


On 03-Oct-1999, Warwick Harvey <wharvey at cs.monash.edu.au> wrote:
> scripts/cleanup_install:
>         New script, for cleaning up after failed installs.  

That should probably be named `mercury_cleanup_install'.
The name `cleanup_install' is too generic; it might well
conflict with command names from other packages.

> --- scripts/ver1/Mmake.vars.in	Sun Oct  3 22:39:32 1999
> +++ scripts/Mmake.vars.in	Sun Oct  3 20:44:23 1999
> @@ -339,6 +339,8 @@
>  
>  ifeq ($(MMAKE_USE_SUBDIRS),yes)
>  
> +# If you change any of these, you may need to update `cleanup_install'.
> +
>  SUBDIR=Mercury/

If you make the change suggested above, that comment will need to change too.

> Index: scripts/Mmakefile
...
>  SCRIPTS = mmake mmc mdb c2init mgnuc ml mprof mprof_merge_runs \
>           sicstus_conv mtags vpath_find mercury_update_interface \
> -         mkfifo_using_mknod
> +         mkfifo_using_mknod cleanup_install
>  DEBUGGER_SCRIPTS = mdbrc
>  EMACS_SCRIPTS = gud.el

Likewise here.

Also you need to add mercury_cleanup_install to the definition of
$(UTILS) in bindist/Mmakefile and bindist/bindist.Makefile.in.

Apart from that, it looks fine.

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