diff: Mmakefile: print message at end of installation

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Mar 11 07:17:09 AEDT 1999


Estimated hours taken: 0.25

Mmakefile:
	At the end of the installation, print out the same helpful message
	about adding stuff to your PATH, etc. that is output by the Makefile
	in the binary distribution (i.e. bindist/bindist.Makefile.in).

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/Mmakefile,v
retrieving revision 1.31
diff -u -r1.31 Mmakefile
--- Mmakefile	1998/12/16 18:15:16	1.31
+++ Mmakefile	1999/03/10 18:19:55
@@ -267,6 +267,17 @@
 
 .PHONY: install
 install: install_main install_grades
+	@echo
+	@echo "-- Installation complete."
+	@echo
+	@echo "-- Don't forget to add $(INSTALL_BINDIR) to your PATH,"
+	@echo "-- $(INSTALL_MAN_DIR) to your MANPATH,"
+	@echo "-- and $(INSTALL_INFODIR) to your INFOPATH,"
+	@echo "-- and to add the following lines to the \`.emacs' file"
+	@echo "-- in your home directory:"
+	@echo "	(setq load-path (cons (expand-file-name "
+	@echo "		\"$(INSTALL_ELISP_DIR)\") load-path))"
+	@echo "	(autoload 'mdb \"gud\" \"Invoke the Mercury debugger\" t)"
 
 .PHONY: install_main
 install_main: all $(PREINSTALL_HACK) \

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



More information about the developers mailing list