$NetBSD: patch-ah,v 1.4 2003/10/03 14:42:39 seb Exp $ --- tests/Makefile.in.orig 2003-10-03 14:29:44.000000000 +0000 +++ tests/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@ @@ -194,7 +195,7 @@ test.java.txt CPP2HTML_WHEADERS = $(CPP2HTML) --header=$(srcdir)/header.html --footer=$(srcdir)/footer.html --title="Header and footer test" -source_highlightdoc_DATA = test.php3.html test.pl.html test.pm.html \ +source_highlightdochtml_DATA = test.php3.html test.pl.html test.pm.html \ test.py.html test.rb.html test.js.html @@ -203,8 +204,10 @@ subdir = tests mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = +depcomp = +am__depfiles_maybe = DIST_SOURCES = -DATA = $(source_highlightdoc_DATA) +DATA = $(source_highlightdochtml_DATA) DIST_COMMON = Makefile.am Makefile.in all: all-am @@ -212,27 +215,27 @@ all: all-am .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu tests/Makefile + $(AUTOMAKE) --foreign --ignore-deps tests/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) uninstall-info-am: -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: @@ -277,7 +280,7 @@ check: check-am all-am: Makefile $(DATA) installdirs: - $(mkinstalldirs) $(DESTDIR)$(source_highlightdocdir) + $(mkinstalldirs) $(DESTDIR)$(source_highlightdochtmldir) install: install-am install-exec: install-exec-am @@ -320,7 +323,7 @@ info: info-am info-am: -install-data-am: install-source_highlightdocDATA +install-data-am: install-source_highlightdochtmlDATA install-exec-am: @@ -346,17 +349,17 @@ ps: ps-am ps-am: -uninstall-am: uninstall-info-am uninstall-source_highlightdocDATA +uninstall-am: uninstall-info-am uninstall-source_highlightdochtmlDATA .PHONY: all all-am check check-am clean clean-generic distclean \ 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-source_highlightdocDATA install-strip installcheck \ + 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-source_highlightdocDATA + uninstall-source_highlightdochtmlDATA %.cc.html: %.cc