File: 0003-Makefile-create-directory-if-missing.patch

package info (click to toggle)
opentracker 1.0%2Bgit20250425.b20b0b8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 612 kB
  • sloc: ansic: 5,833; perl: 176; makefile: 70; sh: 62
file content (20 lines) | stat: -rw-r--r-- 594 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
From: Agathe Porte <gagath@debian.org>
Date: Sat, 25 May 2024 08:45:57 +0200
Subject: Makefile: create directory if missing

When building as a package, the destination directory needs to
be created before installing the target file.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 706b742..03051f1 100644
--- a/Makefile
+++ b/Makefile
@@ -103,4 +103,4 @@ clean:
 	rm -rf opentracker opentracker.debug *.o *~
 
 install:
-	install -m 755 opentracker $(DESTDIR)$(BINDIR)
+	install -D -m 755 opentracker $(DESTDIR)$(BINDIR)/opentracker