File: 0002-Create-installation-directories.patch

package info (click to toggle)
ocamlnet 4.1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 52,232 kB
  • sloc: ml: 151,647; ansic: 11,049; sh: 1,975; makefile: 1,310
file content (23 lines) | stat: -rw-r--r-- 629 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Stefano Zacchiroli <zack@debian.org>
Date: Tue, 6 Oct 2009 15:36:30 +0200
Subject: Create installation directories

...since ocamlfind doesn't

Signed-off-by: Stefano Zacchiroli <zack@debian.org>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index f0c33a0..3f31036 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,7 @@ tools:
 # The following PHONY rule is important for Cygwin:
 .PHONY: install
 install:
+	mkdir -p $(DESTDIR) $(OCAMLFIND_DESTDIR) $(OCAMLFIND_DESTDIR)/stublibs
 	for pkg in $(PKGLIST); do \
 		( cd src/$$pkg && $(MAKE) -f Makefile.pre install ) || exit; \
 	done