File: 01_fix_makefile.dpatch

package info (click to toggle)
wbox 5-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 160 kB
  • ctags: 155
  • sloc: ansic: 1,404; makefile: 51; sh: 12
file content (20 lines) | stat: -rw-r--r-- 564 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_fix_makefile.dpatch by  Alberto Furia <straluna@email.it>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Added install target

@DPATCH@
diff -urNad wbox-5~/Makefile wbox-5/Makefile
--- wbox-5~/Makefile	2009-12-10 10:35:39.000000000 +0100
+++ wbox-5/Makefile	2009-12-13 12:25:57.000000000 +0100
@@ -15,6 +15,9 @@
 wbox: $(OBJ)
 	$(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ)
 
+install:
+	install -D wbox $(DESTDIR)/usr/bin/wbox
+
 .c.o:
 	$(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $<