File: install-byte

package info (click to toggle)
ocaml-gnuplot 0.8.3-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 508 kB
  • sloc: ml: 2,148; makefile: 185
file content (25 lines) | stat: -rw-r--r-- 701 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Ralf Treinen <treinen@debian.org>
Date: Wed, 4 Sep 2019 14:10:12 +0200
Subject: the install target must depend only on the files that are to be

Debian-bug: #663172

 installed and not on the "all" target, otherwise "make install" will fail
 when ocaml does not compile to native code.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8277976..dd8f8d8 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ gnuplot_sys.ml: gnuplot_$(PLATFORM).ml
 
 # Installation
 .PHONY: install
-install: META all
+install: META $(INSTALL_FILES)
 	$(OCAMLFIND) install -destdir $(DESTDIR)/usr/lib/ocaml $(PKGNAME) META $(INSTALL_FILES)
 
 uninstall: