diff: lp_solve Mmakefile bug fixes

Fergus Henderson fjh at cs.mu.oz.au
Sat Oct 11 20:56:29 AEST 1997


Fix a couple of bugs in the Mmakefile stuff for the lp_solve directory.

Mmakefile:
	Add `lp_solve' target.

lp_solve/Mmakefile:
	Add dependency so that `install_lp_solve' will build `lp_solve'
	before trying to install it.

cvs diff  Mmakefile lp_solve/Mmakefile
Index: Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/mercury/Mmakefile,v
retrieving revision 1.9
diff -u -r1.9 Mmakefile
--- Mmakefile	1997/10/09 14:04:09	1.9
+++ Mmakefile	1997/10/11 10:52:56
@@ -111,6 +111,10 @@
 profiler: dep_profiler scripts util runtime boehm_gc library
 	cd profiler && $(SUBDIR_MMAKE)
 
+.PHONY: lp_solve
+lp_solve:
+	cd lp_solve && $(SUBDIR_MMAKE)
+
 #-----------------------------------------------------------------------------#
 
 .PHONY: tags
Index: lp_solve/Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/mercury/lp_solve/Mmakefile,v
retrieving revision 1.1
diff -u -r1.1 Mmakefile
--- Mmakefile	1997/10/09 14:04:29	1.1
+++ Mmakefile	1997/10/11 10:51:16
@@ -43,12 +43,12 @@
 install: install_lp_solve install_manpages
 
 .PHONY: install_manpages
-install_manpages:
+install_manpages: lp_solve.1
 	-[ -d $(INSTALL_MAN_DIR)/man1 ] || mkdir -p $(INSTALL_MAN_DIR)/man1
 	cp lp_solve.1 $(INSTALL_MAN_DIR)/man1
 
 .PHONY: install_lp_solve
-install_lp_solve:
+install_lp_solve: lp_solve
 	[ -d $(INSTALL_BINDIR) ] || mkdir -p $(INSTALL_BINDIR)
 	cp `vpath_find lp_solve` $(INSTALL_BINDIR)
 

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