summaryrefslogtreecommitdiff
path: root/stdlib/Makefile
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1999-01-27 10:53:29 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1999-01-27 10:53:29 +0000
commit5e97f4d988912567abddebd817b5cf0e28b3235c (patch)
treeebd2a6236aaa055eda2b758ac41f919e6c8cb4a6 /stdlib/Makefile
parent74c6c950f0abae4d4e492fcab36acd5b293f7e3e (diff)
downloadocaml-5e97f4d988912567abddebd817b5cf0e28b3235c.tar.gz
install: effacer les fichiers avant de faire ln -s
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2251 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r--stdlib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 47dae17489..9594fe3231 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -35,10 +35,10 @@ installopt-default:
cd $(LIBDIR); $(RANLIB) stdlib.a
installopt-noprof:
- ln -s stdlib.cmxa $(LIBDIR)/stdlib.p.cmxa
- ln -s stdlib.a $(LIBDIR)/stdlib.p.a
- ln -s std_exit.cmx $(LIBDIR)/std_exit.p.cmx
- ln -s std_exit.o $(LIBDIR)/std_exit.p.o
+ rm -f $(LIBDIR)/stdlib.p.cmxa; ln -s stdlib.cmxa $(LIBDIR)/stdlib.p.cmxa
+ rm -f $(LIBDIR)/stdlib.p.a; ln -s stdlib.a $(LIBDIR)/stdlib.p.a
+ rm -f $(LIBDIR)/std_exit.p.cmx; ln -s std_exit.cmx $(LIBDIR)/std_exit.p.cmx
+ rm -f $(LIBDIR)/std_exit.p.o; ln -s std_exit.o $(LIBDIR)/std_exit.p.o
installopt-prof:
cp stdlib.p.cmxa stdlib.p.a std_exit.p.cmx std_exit.p.o $(LIBDIR)