]> git.pld-linux.org Git - packages/ocaml.git/commitdiff
- make .so links
authorMichal Moskal <michal@moskal.me>
Sat, 2 Feb 2002 13:49:11 +0000 (13:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ocaml-manlinks.patch -> 1.1

ocaml-manlinks.patch [new file with mode: 0644]

diff --git a/ocaml-manlinks.patch b/ocaml-manlinks.patch
new file mode 100644 (file)
index 0000000..6e5107a
--- /dev/null
@@ -0,0 +1,24 @@
+diff -ur ocaml-3.04--/camlp4/man/Makefile ocaml-3.04/camlp4/man/Makefile
+--- ocaml-3.04--/camlp4/man/Makefile   Wed Sep 26 16:32:50 2001
++++ ocaml-3.04/camlp4/man/Makefile     Sat Feb  2 01:48:21 2002
+@@ -14,14 +14,11 @@
+ get_promote:
+ install:
+-      -$(MKDIR) $(MANDIR)
+-      -cp $(TARGET) $(MANDIR)/.
+-      -cd $(MANDIR); rm -f camlp4o.1; ln -s $(TARGET) camlp4o.1
+-      -cd $(MANDIR); rm -f camlp4r.1; ln -s $(TARGET) camlp4r.1
+-      -cd $(MANDIR); rm -f mkcamlp4.1; ln -s $(TARGET) mkcamlp4.1
+-      -cd $(MANDIR); rm -f ocpp.1; ln -s $(TARGET) ocpp.1
+-      -cd $(MANDIR); rm -f camlp4o.opt.1; ln -s $(TARGET) camlp4o.opt.1
+-      -cd $(MANDIR); rm -f camlp4r.opt.1; ln -s $(TARGET) camlp4r.opt.1
++      -$(MKDIR) $(DESTDIR)$(MANDIR)
++      cp $(TARGET) $(DESTDIR)$(MANDIR)/.
++      for f in camlp4o camlp4r mkcamlp4 ocpp camlp4o.opt camlp4r.opt ; do \
++              echo ".so man1/$(TARGET)" > $(DESTDIR)$(MANDIR)/$$f.1 ; \
++      done
+ camlp4.1: camlp4.1.tpl
+       sed -e "s'LIBDIR'$(LIBDIR)'g" camlp4.1.tpl > camlp4.1
+
This page took 0.073564 seconds and 4 git commands to generate.