setserial/setserial-2.17-makeinstall.patch

24 lines
754 B
Diff
Raw Permalink Normal View History

--- setserial-2.17/Makefile.in 2000-01-27 16:39:07.000000000 +0100
+++ setserial-2.17/Makefile.in.fix 2007-05-21 11:56:46.000000000 +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_DIR) $(DESTDIR)/bin/
$(INSTALL_PROGRAM) setserial $(DESTDIR)/bin
- $(STRIP) $(DESTDIR)/bin/setserial
- $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/man/man8
+ $(INSTALL_DIR) $(DESTDIR)/usr/share/man/man8
+ $(INSTALL_DATA) setserial.8 $(DESTDIR)/usr/share/man/man8
clean:
$(RM) setserial setserial.o setserial.cat *~