]> git.pld-linux.org Git - packages/ocaml-net.git/blob - ocaml-net-DESTDIR.patch
- md5
[packages/ocaml-net.git] / ocaml-net-DESTDIR.patch
1 diff -ur ocamlnet-0.98.1/src/Makefile.rules ocamlnet-0.98.1.new/src/Makefile.rules
2 --- ocamlnet-0.98.1/src/Makefile.rules  2005-01-30 15:27:16.000000000 +0000
3 +++ ocamlnet-0.98.1.new/src/Makefile.rules      2005-03-17 09:15:51.474074112 +0000
4 @@ -87,13 +87,13 @@
5  
6  .PHONY: install-conventional
7  install-conventional:
8 -       test -n $(LIBDIR)
9 -       mkdir -p $(LIBDIR)
10 +       test -n $(DESTDIR)$(LIBDIR)
11 +       mkdir -p $(DESTDIR)$(LIBDIR)
12         touch packlist-$(PKGNAME)
13         files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a META $(INSTALL_EXTRA) packlist-$(PKGNAME)` && \
14         ls $$files | \
15                 { while read f; do echo "$(LIBDIR)/$$f"; done } >packlist-$(PKGNAME) && \
16 -       cp $$files $(LIBDIR)
17 +       cp $$files $(DESTDIR)$(LIBDIR)
18  
19  
20  # Note: Before ocamlnet 0.96, the packlist contained only relative path
This page took 0.046746 seconds and 3 git commands to generate.