f53d86ae65
-- fixes a format string bug, possible root compromise Pointed out by: markus@, deraadt@ and Gregor Longariva <longariva@informatik.uni-erlangen.de>
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
--- doc/Makefile.in.orig Fri Sep 1 14:48:22 2000
|
|
+++ doc/Makefile.in Fri Sep 1 14:50:30 2000
|
|
@@ -3,13 +3,15 @@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
+DESTDIR =
|
|
+
|
|
prefix = @prefix@
|
|
mandir = @mandir@
|
|
infodir = @infodir@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
-MAKEINFO = makeinfo
|
|
+MAKEINFO = makeinfo --no-split
|
|
TEXI2DVI = texi2dvi
|
|
|
|
SHELL = /bin/sh
|
|
@@ -20,25 +22,23 @@
|
|
$(TEXI2DVI) $(srcdir)/screen.texinfo
|
|
|
|
info screen.info: screen.texinfo
|
|
+ @rm -f screen.info*
|
|
$(MAKEINFO) $(srcdir)/screen.texinfo -o screen.info
|
|
|
|
install: installdirs
|
|
- $(INSTALL_DATA) $(srcdir)/screen.1 $(mandir)/man1/screen.1
|
|
+ $(INSTALL_DATA) $(srcdir)/screen.1 $(DESTDIR)$(mandir)/man1/screen.1
|
|
-$(MAKE) screen.info
|
|
-if test -f screen.info; then d=.; else d=$(srcdir); fi; \
|
|
if test -f $$d/screen.info; then \
|
|
- for f in $$d/screen.info*; do $(INSTALL_DATA) $$f $(infodir);done; \
|
|
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
|
|
- install-info --info-dir=$(infodir) $$d/screen.info; \
|
|
- else true; fi; \
|
|
+ for f in $$d/screen.info*; do $(INSTALL_DATA) $$f $(DESTDIR)$(infodir);done; \
|
|
fi
|
|
|
|
uninstall:
|
|
- rm -f $(mandir)/man1/screen.1
|
|
- rm -f $(infodir)/screen.info*
|
|
+ rm -f $(DESTDIR)$(mandir)/man1/screen.1
|
|
+ rm -f $(DESTDIR)$(infodir)/screen.info*
|
|
|
|
installdirs:
|
|
- $(srcdir)/../etc/mkinstalldirs $(mandir)/man1 $(infodir)
|
|
+ $(srcdir)/../etc/mkinstalldirs $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(infodir)
|
|
|
|
mostlyclean:
|
|
-rm -f *.cp *.cps *.fn *.fns *.ky *.kys *.pg *.tp *.vr
|