diff: delete Prolog support from bindist
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Mar 16 17:11:04 AEDT 1999
Estimated hours taken: 0.25
Remove support for NU-Prolog and SICStus Prolog.
bindist/Mmakefile:
bindist/bindist.Makefile.in:
Delete the rules for building NU-Prolog and SICStus Prolog stuff.
Index: bindist/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/bindist/Mmakefile,v
retrieving revision 1.17
diff -u -r1.17 Mmakefile
--- Mmakefile 1998/12/23 23:53:23 1.17
+++ Mmakefile 1999/03/16 06:06:09
@@ -14,8 +14,7 @@
INSTALL_LIB_DIR = $(INSTALL_PREFIX)/lib
-LIB_FILES = bin doc html inc ints lib mdb/mdb_doc modules \
- $(NUPROLOG) $(SICSTUS)
+LIB_FILES = bin doc html inc ints lib mdb/mdb_doc modules
UTILS = $(INSTALL_PREFIX)/bin/mkinit \
$(INSTALL_PREFIX)/bin/mdemangle \
Index: bindist/bindist.Makefile.in
===================================================================
RCS file: /home/mercury1/repository/mercury/bindist/bindist.Makefile.in,v
retrieving revision 1.18
diff -u -r1.18 bindist.Makefile.in
--- bindist.Makefile.in 1999/03/09 01:50:33 1.18
+++ bindist.Makefile.in 1999/03/16 06:08:18
@@ -23,25 +23,15 @@
EMACS_SCRIPTS = scripts/gud.el
-SICSTUS_SCRIPTS = scripts/msc scripts/msl \
- scripts/msp scripts/sicstus_conv
-
-NUPROLOG_SCRIPTS = scripts/mnc scripts/mnp scripts/mnl
-
INSTALL_MMAKE_EXTRAS = scripts/Mmake.rules scripts/Mmake.vars
INSTALL_MDB_EXTRAS = scripts/mdbrc
LIB_PARTS = bin doc html inc ints lib mdb/mdb_doc modules
-LIB_NUPROLOG_PARTS = @NUPROLOG@
-LIB_SICSTUS_PARTS = @SICSTUS@
UTILS = util/mdemangle util/mkinit util/mtags \
util/mprof_merge_runs
-INSTALL_NUPROLOG = @INSTALL_NUPROLOG@
-INSTALL_SICSTUS = @INSTALL_SICSTUS@
-
#-----------------------------------------------------------------------------#
all:
@@ -52,7 +42,7 @@
.PHONY: install
install: install_lib install_info install_man install_scripts install_mmake \
- install_mdb install_util $(INSTALL_SICSTUS) $(INSTALL_NUPROLOG)
+ install_mdb install_util
@echo
@echo "-- Don't forget to add $(INSTALL_BINDIR) to your PATH,"
@echo "-- $(INSTALL_MAN_DIR) to your MANPATH,"
@@ -70,17 +60,8 @@
# (XXX don't use redirection or pipes, because on gnu-win32
# stdout defaults to text mode, which breaks tar and gzip)
gzip --decompress lib.tar.gz
- # if the binary distribution doesn't include NU-Prolog or
- # SICStus Prolog support, then attempting to extract them
- # from the tar file will fail; we therefore ignore any errors
- # in those two steps.
- LIB_TAR_FILE=`pwd`/lib.tar && cd $(INSTALL_LIBDIR) && { \
- [ -n "$(LIB_NUPROLOG_PARTS)" ] && \
- tar -xf $$LIB_TAR_FILE $(LIB_NUPROLOG_PARTS); \
- [ -n "$(LIB_SICSTUS_PARTS)" ] && \
- tar -xf $$LIB_TAR_FILE $(LIB_SICSTUS_PARTS); \
- tar -xf $$LIB_TAR_FILE $(LIB_PARTS); \
- }
+ LIB_TAR_FILE=`pwd`/lib.tar && cd $(INSTALL_LIBDIR) && \
+ tar -xf $$LIB_TAR_FILE $(LIB_PARTS)
gzip lib.tar # tidy up
@echo "-- Done."
@@ -138,26 +119,5 @@
install_util:
test -d $(INSTALL_BINDIR) || mkdir -p $(INSTALL_BINDIR)
cp $(UTILS) $(INSTALL_BINDIR)
-
-install_nuprolog:
- @echo "-- Installing NU-Prolog scripts in $(INSTALL_BINDIR)"
- test -d $(INSTALL_BINDIR) || mkdir -p $(INSTALL_BINDIR)
- cp $(NUPROLOG_SCRIPTS) $(INSTALL_BINDIR)
- for file in $(NUPROLOG_SCRIPTS); do \
- base=`basename $$file`; \
- chmod +w $(INSTALL_BINDIR)/$$base ;\
- done
- @echo "-- Done."
-
-.PHONY: install_sicstus
-install_sicstus:
- @echo "-- Installing SICStus-Prolog scripts in $(INSTALL_BINDIR)"
- test -d $(INSTALL_BINDIR) || mkdir -p $(INSTALL_BINDIR)
- cp $(SICSTUS_SCRIPTS) $(INSTALL_BINDIR)
- for file in $(SICSTUS_SCRIPTS); do \
- base=`basename $$file`; \
- chmod +w $(INSTALL_BINDIR)/$$base ;\
- done
- @echo "-- Done."
#-----------------------------------------------------------------------------#
--
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