]> git.pld-linux.org Git - packages/ocaml.git/blob - ocaml-manlinks.patch
- make .so links
[packages/ocaml.git] / ocaml-manlinks.patch
1 diff -ur ocaml-3.04--/camlp4/man/Makefile ocaml-3.04/camlp4/man/Makefile
2 --- ocaml-3.04--/camlp4/man/Makefile    Wed Sep 26 16:32:50 2001
3 +++ ocaml-3.04/camlp4/man/Makefile      Sat Feb  2 01:48:21 2002
4 @@ -14,14 +14,11 @@
5  get_promote:
6  
7  install:
8 -       -$(MKDIR) $(MANDIR)
9 -       -cp $(TARGET) $(MANDIR)/.
10 -       -cd $(MANDIR); rm -f camlp4o.1; ln -s $(TARGET) camlp4o.1
11 -       -cd $(MANDIR); rm -f camlp4r.1; ln -s $(TARGET) camlp4r.1
12 -       -cd $(MANDIR); rm -f mkcamlp4.1; ln -s $(TARGET) mkcamlp4.1
13 -       -cd $(MANDIR); rm -f ocpp.1; ln -s $(TARGET) ocpp.1
14 -       -cd $(MANDIR); rm -f camlp4o.opt.1; ln -s $(TARGET) camlp4o.opt.1
15 -       -cd $(MANDIR); rm -f camlp4r.opt.1; ln -s $(TARGET) camlp4r.opt.1
16 +       -$(MKDIR) $(DESTDIR)$(MANDIR)
17 +       cp $(TARGET) $(DESTDIR)$(MANDIR)/.
18 +       for f in camlp4o camlp4r mkcamlp4 ocpp camlp4o.opt camlp4r.opt ; do \
19 +               echo ".so man1/$(TARGET)" > $(DESTDIR)$(MANDIR)/$$f.1 ; \
20 +       done
21  
22  camlp4.1: camlp4.1.tpl
23         sed -e "s'LIBDIR'$(LIBDIR)'g" camlp4.1.tpl > camlp4.1
24
This page took 0.032987 seconds and 3 git commands to generate.