pkgsrc/textproc/source-highlight/patches/patch-ad
seb 49a0b7d092 Update to version 1.7.
Changes in version 1.7:
   * scanner for Ruby programming language (thanks to Noritsugu Nakamura
     <nnakamur@mxq.mesh.ne.jp>).
   * fixed explicit rules in Makefiles that generated errors with some
     versions of non-GNU makes.
2003-06-12 01:17:30 +00:00

121 lines
4.7 KiB
Text

$NetBSD: patch-ad,v 1.3 2003/06/12 01:17:32 seb Exp $
--- doc/Makefile.in.orig 2003-06-12 00:36:17.000000000 +0000
+++ doc/Makefile.in
@@ -138,6 +138,7 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
source_highlightdatadir = @source_highlightdatadir@
source_highlightdocdir = @source_highlightdocdir@
+source_highlightdochtmldir = @source_highlightdochtmldir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
@@ -168,7 +169,7 @@ EXTRA_DIST = colors.html @PACKAGE@.html
startapp.cc.html cmdline.c.html cmdline.h.html
-source_highlightdoc_DATA = colors.html @PACKAGE@.html \
+source_highlightdochtml_DATA = colors.html @PACKAGE@.html \
Hello.java Hello1.html Hello2.html Hello3.html Hello4.html Hello5.html \
Hello.java.html Hello_h_f.html Hello_lines.html Hello_xhtml.html \
Hello_xhtml2.html \
@@ -202,11 +203,13 @@ subdir = doc
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = source-highlight.html source-highlight.1
+depcomp =
+am__depfiles_maybe =
DIST_SOURCES =
NROFF = nroff
MANS = $(man_MANS)
-DATA = $(source_highlightdoc_DATA)
+DATA = $(source_highlightdochtml_DATA)
DIST_COMMON = Makefile.am Makefile.in source-highlight.1.in \
source-highlight.html.in
@@ -215,7 +218,7 @@ all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && \
- $(AUTOMAKE) --gnu doc/Makefile
+ $(AUTOMAKE) --foreign --ignore-deps doc/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
source-highlight.html: $(top_builddir)/config.status source-highlight.html.in
@@ -270,23 +273,23 @@ uninstall-man1:
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
rm -f $(DESTDIR)$(man1dir)/$$inst; \
done
-source_highlightdocDATA_INSTALL = $(INSTALL_DATA)
-install-source_highlightdocDATA: $(source_highlightdoc_DATA)
+source_highlightdochtmlDATA_INSTALL = $(INSTALL_DATA)
+install-source_highlightdochtmlDATA: $(source_highlightdochtml_DATA)
@$(NORMAL_INSTALL)
- $(mkinstalldirs) $(DESTDIR)$(source_highlightdocdir)
- @list='$(source_highlightdoc_DATA)'; for p in $$list; do \
+ $(mkinstalldirs) $(DESTDIR)$(source_highlightdochtmldir)
+ @list='$(source_highlightdochtml_DATA)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f="`echo $$p | sed -e 's|^.*/||'`"; \
- echo " $(source_highlightdocDATA_INSTALL) $$d$$p $(DESTDIR)$(source_highlightdocdir)/$$f"; \
- $(source_highlightdocDATA_INSTALL) $$d$$p $(DESTDIR)$(source_highlightdocdir)/$$f; \
+ echo " $(source_highlightdochtmlDATA_INSTALL) $$d$$p $(DESTDIR)$(source_highlightdochtmldir)/$$f"; \
+ $(source_highlightdochtmlDATA_INSTALL) $$d$$p $(DESTDIR)$(source_highlightdochtmldir)/$$f; \
done
-uninstall-source_highlightdocDATA:
+uninstall-source_highlightdochtmlDATA:
@$(NORMAL_UNINSTALL)
- @list='$(source_highlightdoc_DATA)'; for p in $$list; do \
+ @list='$(source_highlightdochtml_DATA)'; for p in $$list; do \
f="`echo $$p | sed -e 's|^.*/||'`"; \
- echo " rm -f $(DESTDIR)$(source_highlightdocdir)/$$f"; \
- rm -f $(DESTDIR)$(source_highlightdocdir)/$$f; \
+ echo " rm -f $(DESTDIR)$(source_highlightdochtmldir)/$$f"; \
+ rm -f $(DESTDIR)$(source_highlightdochtmldir)/$$f; \
done
tags: TAGS
TAGS:
@@ -331,7 +334,7 @@ check: check-am
all-am: Makefile $(MANS) $(DATA)
installdirs:
- $(mkinstalldirs) $(DESTDIR)$(man1dir) $(DESTDIR)$(source_highlightdocdir)
+ $(mkinstalldirs) $(DESTDIR)$(man1dir) $(DESTDIR)$(source_highlightdochtmldir)
install: install-am
install-exec: install-exec-am
@@ -374,7 +377,7 @@ info: info-am
info-am:
-install-data-am: install-man install-source_highlightdocDATA
+install-data-am: install-man install-source_highlightdochtmlDATA
install-exec-am:
@@ -401,7 +404,7 @@ ps: ps-am
ps-am:
uninstall-am: uninstall-info-am uninstall-man \
- uninstall-source_highlightdocDATA
+ uninstall-source_highlightdochtmlDATA
uninstall-man: uninstall-man1
@@ -409,11 +412,12 @@ uninstall-man: uninstall-man1
distclean-generic distdir dvi dvi-am info info-am install \
install-am install-data install-data-am install-exec \
install-exec-am install-info install-info-am install-man \
- install-man1 install-source_highlightdocDATA install-strip \
+ install-man1 install-source_highlightdochtmlDATA install-strip \
installcheck installcheck-am installdirs maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \
- uninstall-man uninstall-man1 uninstall-source_highlightdocDATA
+ uninstall-man uninstall-man1 \
+ uninstall-source_highlightdochtmlDATA
# note that $(srcdir) actually points to doc dir