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
|