diff: bug in install_grades
Fergus Henderson
fjh at hydra.cs.mu.oz.au
Tue Oct 7 21:04:19 AEST 1997
Mmakefile:
Fix a bug in the rule for install_grades that broke the
libraries installed for grade `asm_fast.gc.tr' on
mercury.cs.mu.oz.au. The problem was that it was not
removing the C files in the library directory, which had
been generated for a different grade, before making the new grade.
Index: Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/mercury/Mmakefile,v
retrieving revision 1.6
diff -u -u -r1.6 Mmakefile
--- Mmakefile 1997/07/28 15:09:34 1.6
+++ Mmakefile 1997/10/07 11:00:05
@@ -251,7 +251,7 @@
cd runtime && rm -rf tmp_dir && mkdir tmp_dir && \
{ mv -f *.o *.pic_o *.a *.so tmp_dir || true; }
cd library && rm -rf tmp_dir && mkdir tmp_dir && \
- { mv -f *.o *.pic_o *.a *.so tmp_dir || true; }
+ { mv -f *.c *.o *.pic_o *.a *.so tmp_dir || true; }
for grade in x $(LIBGRADES); do \
if [ "$$grade" != "x" ]; then \
case "$$grade" in \
@@ -270,7 +270,7 @@
$(SUBDIR_MMAKE) GRADE=$$grade install_library ) && \
( cd boehm_gc && rm -f *.o *.pic_o *.a *.so ) && \
( cd runtime && rm -f *.o *.pic_o *.a *.so ) && \
- ( cd library && rm -f *.o *.pic_o *.a *.so ) && \
+ ( cd library && rm -f *.c *.o *.pic_o *.a *.so ) && \
true \
|| exit 1; \
fi; \
--
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