setserial/setserial-2.17-makeinstall.patch

25 lines
809 B
Diff

--- setserial-2.17/Makefile.in.orig 2021-05-20 13:48:16.861959422 +0200
+++ setserial-2.17/Makefile.in 2021-05-20 13:48:32.222242243 +0200
@@ -6,6 +6,7 @@
VERSION = @RELEASE_VERSION@
INSTALL = @INSTALL@
+INSTALL_DIR = ${INSTALL} -d -m 755
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
STRIP = @STRIP@
@@ -26,9 +27,10 @@
nroff -man setserial.8 > setserial.cat
install: setserial setserial.8
- $(INSTALL_PROGRAM) setserial $(DESTDIR)/bin
- $(STRIP) $(DESTDIR)/bin/setserial
- $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8
+ $(INSTALL_DIR) $(DESTDIR)/usr/bin/
+ $(INSTALL_PROGRAM) setserial $(DESTDIR)/usr/bin
+ $(INSTALL_DIR) $(DESTDIR)/usr/share/man/man8
+ $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/share/man/man8
clean:
$(RM) setserial setserial.o setserial.cat *~