1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/japanese/groff/files/patch-doc:Makefile.sub
OKAZAKI Tetsurou 546de880de Security update to ja-groff.
- Fix insecure temporary file handling of pic2graph, eqn2graph [1] and groffer [2].

Utilize PORTDOCS.

PR:		ports/80671
Submitted by:	KOMATSU Shinichiro
VuXML:		01bb84e2-bd88-11d9-a281-02e018374e71 [1],
		169f422f-bd88-11d9-a281-02e018374e71 [2]
2005-05-09 07:06:22 +00:00

32 lines
1.1 KiB
Plaintext

--- doc/Makefile.sub.bak Fri Jul 26 22:48:54 2002
+++ doc/Makefile.sub Thu Mar 6 12:49:07 2003
@@ -110,7 +110,7 @@
$(GROFF) -Tps -ms -mwww >$@
-all: groff $(PROCESSEDDOCFILES) prepare_examples \
+all: $(PROCESSEDDOCFILES) prepare_examples \
$(PROCESSEDEXAMPLEFILES) $(make_html)
html: $(HTMLDOCFILES) $(HTMLEXAMPLEFILES)
@@ -133,18 +133,8 @@
distfiles: groff gnu.eps gnu.png
-install_data: groff $(DOCFILES) $(PROCESSEDDOCFILES) $(make_install_html) \
+install_doc: $(DOCFILES) $(PROCESSEDDOCFILES) $(make_install_html) \
$(EXAMPLEFILES) $(PROCESSEDEXAMPLEFILES)
- -test -d $(infodir) || $(mkinstalldirs) $(infodir)
-# Prefer info files in builddir over srcdir; we test for
-# the existence of `groff'.
- d=.; \
- test -f "groff" || d=$(srcdir); \
- for f in $$d/groff $$d/groff-*; do \
- rm -f $(infodir)/`basename $$f`; \
- $(INSTALL_DATA) $$f $(infodir)/`basename $$f`; \
- done
- $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/groff
-test -d $(docdir) || $(mkinstalldirs) $(docdir)
for f in $(DOCFILES); do \
rm -f $(docdir)/$$f; \