Package: dov4l / 0.9+repack-1

fix-makefile Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Fix install target in Makefile to comply with Debian build procedures.
--- a/Makefile
+++ b/Makefile
@@ -11,10 +11,8 @@
 	$(CC) -Wall -W $(OBJS) $(LDFLAGS) -o dov4l
 
 install: dov4l
-	cp dov4l /usr/bin
-	install -D dov4l.1 /usr/man/man1/dov4l.1
-	rm -f /usr/man/man1/dov4l.1.gz
-	gzip -9 /usr/man/man1/dov4l.1
+	install -p -D dov4l $(DESTDIR)/usr/bin/dov4l
+	install -p -D dov4l.1 $(DESTDIR)/usr/share/man/man1/dov4l.1
 
 uninstall: clean
 	rm -f /usr/bin/dov4l