File: destdir-install.patch

package info (click to toggle)
daligner 1.0%2Bgit20221215.bd26967-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,012 kB
  • sloc: ansic: 21,757; makefile: 216; sh: 20
file content (16 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Use DESTDIR during installation
Author: Afif Elghraoui <afif@ghraoui.name>
Forwarded: not-needed
Last-Update: 2016-01-08
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,8 @@ clean:
 	rm -f daligner.tar.gz
 
 install:
-	cp $(ALL) $(DEST_DIR)
+	install -d $(DESTDIR)/usr/bin
+	install $(ALL) $(DESTDIR)/usr/bin
 
 package:
 	make clean