head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.28 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.26 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.24 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.22 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.20 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.18 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.16 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.14 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.12 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.10 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.8 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.6 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.4 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.2 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.5.0.10 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.8 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.6 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.4 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.4.0.8 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.6 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.4 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.6 date 2007.02.22.20.35.36; author wiz; state dead; branches; next 1.5; 1.5 date 2005.10.10.09.05.59; author seb; state Exp; branches; next 1.4; 1.4 date 2004.10.21.00.15.47; author seb; state Exp; branches; next 1.3; 1.3 date 2003.06.12.01.17.32; author seb; state dead; branches; next 1.2; 1.2 date 2003.02.16.20.53.48; author seb; state Exp; branches; next 1.1; 1.1 date 2002.12.23.22.27.50; author seb; state Exp; branches; next ; desc @@ 1.6 log @Update to 2.5: Version 2.5 * fixed lang.map for php files * fixed url.lang * --debug-langdef can be interactive * nohilite.lang that does not perform any highlighting, but only formats the input file into the output format (dealing with output format special characters) * default.lang to which source-highlight falls back when no input language is specified or available * infer script languages * --header and --footer options do not require --doc option * --statistics print elapsed time * highlight cls, dtx and sty LaTeX files * language definition for Tcl * language definition for Sql * language definition for bibtex * infer language of script files Version 2.4 * language definition for C# (thanks to Hemmi Shigeru) * language definition for XML (thanks to Andy Buckley) * language definition for shell scripts (thanks to Dirk Jagdmann) * fixed language definition for HTML (tags with numbers are highlighted, e.g.,

) * updated language definition for logtalk (thanks to Paulo Moura) * produces the list of elements of a language definition file (--show-lang-elements) * output format definition for HTML where fonts by default are not fixed width. * bug fix in url regular expressions * bug fix with nonsensitive keywords (thanks to Andrea Ercolino) * improved documentation concerning installation of Boost regex library Version 2.3 * the regex automaton is printed on the standard output (instead of the standard error) * language definition for postscript * DocBook output format * fixed bug in .map files with \r characters * fixed expression for email Version 2.2 * fixed a bug that sigsegv when more than one input file is provided * fixed a compilation error with gcc 4.0 * generate references using ctags * fixed a bug with LaTeX output of " with some inputencs and with latexcolor * handle direct color specifications independently from HTML * fixed conversion of hexadecimal characters in output language definitions * fixed compilation error with regex 1.33 * include man page * language definition for diff output * fixed bugs in generation of the regular expression automaton * extended documentation with some tutorials on input language definitions * generate more compact output (reduced size) * in LaTeX output longtable is not used anymore @ text @$NetBSD: patch-af,v 1.5 2005/10/10 09:05:59 seb Exp $ --- doc/Makefile.in.orig 2005-10-09 09:27:17.000000000 +0000 +++ doc/Makefile.in @@@@ -56,6 +56,8 @@@@ am__configure_deps = $(am__aclocal_m4_de mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = index.html +depcomp = +am__depfiles_maybe = SOURCES = DIST_SOURCES = INFO_DEPS = $(srcdir)/source-highlight.info @@@@ -70,7 +72,7 @@@@ TEXI2PDF = $(TEXI2DVI) --pdf --batch MAKEINFOHTML = $(MAKEINFO) --html DVIPS = dvips am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" \ - "$(DESTDIR)$(source_highlightdocdir)" + "$(DESTDIR)$(source_highlightdochtmldir)" man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) @@@@ -80,8 +82,8 @@@@ am__vpath_adj = case $$p in \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -source_highlightdocDATA_INSTALL = $(INSTALL_DATA) -DATA = $(source_highlightdoc_DATA) +source_highlightdochtmlDATA_INSTALL = $(INSTALL_DATA) +DATA = $(source_highlightdochtml_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @@ACLOCAL@@ AMDEP_FALSE = @@AMDEP_FALSE@@ @@@@ -184,6 +186,7 @@@@ sbindir = @@sbindir@@ sharedstatedir = @@sharedstatedir@@ source_highlightdatadir = @@source_highlightdatadir@@ source_highlightdocdir = @@source_highlightdocdir@@ +source_highlightdochtmldir = @@source_highlightdochtmldir@@ sysconfdir = @@sysconfdir@@ target_alias = @@target_alias@@ TAGS_J2H_OPTION = --style-file $(top_srcdir)/src/default.style @@@@ -210,7 +213,7 @@@@ EXTRA_DIST = colors.html source-highligh gpl.texinfo flex_scanner.ll $(GENERATEDINFOS) \ source-highlight.1 -source_highlightdoc_DATA = colors.html source-highlight.html \ +source_highlightdochtml_DATA = colors.html source-highlight.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 \ @@@@ -250,9 +253,9 @@@@ $(srcdir)/Makefile.in: $(srcdir)/Makefi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps doc/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu doc/Makefile + $(AUTOMAKE) --gnu --ignore-deps doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @@case '$?' in \ @@@@ -444,22 +447,22 @@@@ uninstall-man1: echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done -install-source_highlightdocDATA: $(source_highlightdoc_DATA) +install-source_highlightdochtmlDATA: $(source_highlightdochtml_DATA) @@$(NORMAL_INSTALL) - test -z "$(source_highlightdocdir)" || $(mkdir_p) "$(DESTDIR)$(source_highlightdocdir)" - @@list='$(source_highlightdoc_DATA)'; for p in $$list; do \ + test -z "$(source_highlightdochtmldir)" || $(mkdir_p) "$(DESTDIR)$(source_highlightdochtmldir)" + @@list='$(source_highlightdochtml_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ - 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=$(am__strip_dir) \ - 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: @@@@ -502,7 +505,7 @@@@ check-am: all-am check: check-am all-am: Makefile $(INFO_DEPS) $(MANS) $(DATA) installdirs: - for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(source_highlightdocdir)"; do \ + for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(source_highlightdochtmldir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am @@@@ -551,7 +554,7 @@@@ info: info-am info-am: $(INFO_DEPS) install-data-am: install-info-am install-man \ - install-source_highlightdocDATA + install-source_highlightdochtmlDATA install-exec-am: @@@@ -609,7 +612,7 @@@@ ps: ps-am ps-am: $(PSS) uninstall-am: uninstall-info-am uninstall-man \ - uninstall-source_highlightdocDATA + uninstall-source_highlightdochtmlDATA uninstall-man: uninstall-man1 @@@@ -617,13 +620,14 @@@@ uninstall-man: uninstall-man1 distclean distclean-generic distdir dvi dvi-am html html-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-man install-man1 install-source_highlightdochtmlDATA \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-aminfo \ maintainer-clean-generic maintainer-clean-vti mostlyclean \ mostlyclean-aminfo mostlyclean-generic mostlyclean-vti 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 source-highlight.texinfo: help-output.texinfo lang-list.texinfo outlang-list.texinfo test.java.texinfo debug.java.texinfo style.texinfo @ 1.5 log @Update to version 2.1.2. Add build dependencies on GNU make and GNU sed for 'test' target's benefit. Support for input chroot, via make variable SOURCE_HIGHLIGHT_INPUT_CHROOT, deactivated otherwise the build is broken. XXX Is 'TOOLS_PLATFORM.gsed= # empty' the proper way to override a the platform sed tool ? Relinquish stewardship. Changes since last packaged version (1.11): Version 2.1.2 * fixed conversion of hexadecimal characters in output language definitions * fixed compilation error with regex 1.33 * include man page * fixed a bug with LaTeX output of " with some inputencs Version 2.1.1 * fixed a bug that sigsegv when more than one input file is provided * fixed a compilation error with gcc 4.0 Version 2.1 * Included obsolete man page. * output language format specifications are read at run-time so that new output languages can be easily added dynamically (without recompiling the sources) by using a simple syntax. * "fixed" and "notfixed" styles can be specified. * fixed the handling of end-of-line (processed only once) * LaTeX output * TeXinfo output * debug of a language definition * tags.j2h files are now called style files. * renamed --tags-file option in --style-file * allows to specify a prefix for the generated line number anchors * --header and --footer do not imply --doc * language definition for LogTalk and LaTeX Version 2.0 * Language specifications are read at run-time, so that new languages can be easily added dynamically (without recompiling the sources) by using a simple syntax. * "nonsensitive" for simple definitions * cgi version not built automatically * failsafe option to simply output the input file when no language definition is found * functionalities with less improved. Version 1.11.1 * fixed compilations problems on some Unix compilers @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to version 1.11 Changes since last packaged version (1.10): * errors in tags error files are reported more correctly and make the program exit * more tag options added * "linenum" tag for specifying the style of line numbers Package changes: * set USE_LANGUAGES * fix HTML installation directory in manpage @ text @d3 136 a138 21 --- doc/source-highlight.1.in.orig 2004-07-11 12:58:38.000000000 +0000 +++ doc/source-highlight.1.in @@@@ -19,7 +19,8 @@@@ output languages are: \fBHTML\fP, \fBXHT .PP \fBTexinfo documentation will be released soon, but meanwhile please refer to README file or to the html documentation that you -can find in @@prefix@@/share/doc/source-highlight.\fP +can find respectively in @@prefix@@/share/doc/source-highlight and +@@prefix@@/share/doc/html/source-highlight.\fP .SH OPTIONS \fBsource-highlight\fP accepts some options. .sp @@@@ -121,7 +122,7 @@@@ with \fB--verbose\fP option enabled. .SH "SEE ALSO" -HTML documentation in \fI@@prefix@@/share/doc/source-highlight\fP. +HTML documentation in \fI@@prefix@@/share/doc/html/source-highlight\fP. .SH "VERSION INFORMATION" This man page (partially) documents \fBsource-highlight\fP, version @@VERSION@@. TexInfo documentation will be released soon. @ 1.3 log @Update to version 1.7. Changes in version 1.7: * scanner for Ruby programming language (thanks to Noritsugu Nakamura ). * fixed explicit rules in Makefiles that generated errors with some versions of non-GNU makes. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2003/02/16 20:53:48 seb Exp $ d3 21 a23 196 --- src/Makefile.in.orig 2003-02-09 09:23:04.000000000 +0000 +++ src/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@@ @@@@ -246,19 +247,8 @@@@ SCRIPTS = $(bin_SCRIPTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -@@AMDEP_TRUE@@DEP_FILES = $(DEPDIR)/getopt.Po $(DEPDIR)/getopt1.Po \ -@@AMDEP_TRUE@@ $(DEPDIR)/yywrap.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/changelog_scanner.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/cpp_scanner.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/flex_scanner.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/java_scanner.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/perl_scanner.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/php3_scanner.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/prolog_scanner.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/python_scanner.Po \ -@@AMDEP_TRUE@@ ./$(DEPDIR)/source-highlight.Po +depcomp = +am__depfiles_maybe = COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) @@@@ -293,7 +283,7 @@@@ all: $(BUILT_SOURCES) .SUFFIXES: .c .cc .ll .o .obj $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu src/Makefile + $(AUTOMAKE) --gnu --ignore-deps src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@@ $(am__depfiles_maybe) java2html: $(top_builddir)/config.status java2html.in @@@@ -357,65 +347,17 @@@@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@$(DEPDIR)/getopt.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@$(DEPDIR)/getopt1.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@$(DEPDIR)/yywrap.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/changelog_scanner.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/cpp_scanner.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/flex_scanner.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/java_scanner.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/perl_scanner.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/php3_scanner.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/prolog_scanner.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/python_scanner.Po@@am__quote@@ -@@AMDEP_TRUE@@@@am__include@@ @@am__quote@@./$(DEPDIR)/source-highlight.Po@@am__quote@@ - -distclean-depend: - -rm -rf $(DEPDIR) ./$(DEPDIR) - .c.o: -@@am__fastdepCC_TRUE@@ if $(COMPILE) -MT $@@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ -@@am__fastdepCC_TRUE@@ -c -o $@@ `test -f '$<' || echo '$(srcdir)/'`$<; \ -@@am__fastdepCC_TRUE@@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ -@@am__fastdepCC_TRUE@@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ -@@am__fastdepCC_TRUE@@ fi -@@AMDEP_TRUE@@@@am__fastdepCC_FALSE@@ source='$<' object='$@@' libtool=no @@AMDEPBACKSLASH@@ -@@AMDEP_TRUE@@@@am__fastdepCC_FALSE@@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @@AMDEPBACKSLASH@@ -@@AMDEP_TRUE@@@@am__fastdepCC_FALSE@@ $(CCDEPMODE) $(depcomp) @@AMDEPBACKSLASH@@ -@@am__fastdepCC_FALSE@@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< + $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$< .c.obj: -@@am__fastdepCC_TRUE@@ if $(COMPILE) -MT $@@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ -@@am__fastdepCC_TRUE@@ -c -o $@@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ -@@am__fastdepCC_TRUE@@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ -@@am__fastdepCC_TRUE@@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ -@@am__fastdepCC_TRUE@@ fi -@@AMDEP_TRUE@@@@am__fastdepCC_FALSE@@ source='$<' object='$@@' libtool=no @@AMDEPBACKSLASH@@ -@@AMDEP_TRUE@@@@am__fastdepCC_FALSE@@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @@AMDEPBACKSLASH@@ -@@AMDEP_TRUE@@@@am__fastdepCC_FALSE@@ $(CCDEPMODE) $(depcomp) @@AMDEPBACKSLASH@@ -@@am__fastdepCC_FALSE@@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` + $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` .cc.o: -@@am__fastdepCXX_TRUE@@ if $(CXXCOMPILE) -MT $@@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ -@@am__fastdepCXX_TRUE@@ -c -o $@@ `test -f '$<' || echo '$(srcdir)/'`$<; \ -@@am__fastdepCXX_TRUE@@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ -@@am__fastdepCXX_TRUE@@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ -@@am__fastdepCXX_TRUE@@ fi -@@AMDEP_TRUE@@@@am__fastdepCXX_FALSE@@ source='$<' object='$@@' libtool=no @@AMDEPBACKSLASH@@ -@@AMDEP_TRUE@@@@am__fastdepCXX_FALSE@@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @@AMDEPBACKSLASH@@ -@@AMDEP_TRUE@@@@am__fastdepCXX_FALSE@@ $(CXXDEPMODE) $(depcomp) @@AMDEPBACKSLASH@@ -@@am__fastdepCXX_FALSE@@ $(CXXCOMPILE) -c -o $@@ `test -f '$<' || echo '$(srcdir)/'`$< + $(CXXCOMPILE) -c -o $@@ `test -f '$<' || echo '$(srcdir)/'`$< .cc.obj: -@@am__fastdepCXX_TRUE@@ if $(CXXCOMPILE) -MT $@@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ -@@am__fastdepCXX_TRUE@@ -c -o $@@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ -@@am__fastdepCXX_TRUE@@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ -@@am__fastdepCXX_TRUE@@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ -@@am__fastdepCXX_TRUE@@ fi -@@AMDEP_TRUE@@@@am__fastdepCXX_FALSE@@ source='$<' object='$@@' libtool=no @@AMDEPBACKSLASH@@ -@@AMDEP_TRUE@@@@am__fastdepCXX_FALSE@@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @@AMDEPBACKSLASH@@ -@@AMDEP_TRUE@@@@am__fastdepCXX_FALSE@@ $(CXXDEPMODE) $(depcomp) @@AMDEPBACKSLASH@@ -@@am__fastdepCXX_FALSE@@ $(CXXCOMPILE) -c -o $@@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` + $(CXXCOMPILE) -c -o $@@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` .ll.cc: $(SHELL) $(YLWRAP) `test -f '$<' || echo '$(srcdir)/'`$< $(LEX_OUTPUT_ROOT).c $@@ -- $(LEXCOMPILE) @@@@ -631,24 +573,24 @@@@ distclean-generic: maintainer-clean-generic: @@echo "This command is intended for maintainers to use" @@echo "it deletes files that may require special tools to rebuild." - -rm -f java_scanner.cc - -rm -f python_scanner.cc - -rm -f prolog_scanner.cc - -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) - -rm -f php3_scanner.cc - -rm -f perl_scanner.cc -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) + -rm -f php3_scanner.cc -rm -f flex_scanner.cc - -rm -f changelog_scanner.cc + -rm -f prolog_scanner.cc -rm -f cpp_scanner.cc + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) + -rm -f java_scanner.cc + -rm -f python_scanner.cc + -rm -f changelog_scanner.cc + -rm -f perl_scanner.cc clean: clean-recursive clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-recursive -distclean-am: clean-am distclean-compile distclean-depend \ - distclean-generic distclean-tags +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags dvi: dvi-recursive @@@@ -691,10 +633,10 @@@@ uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic clean-recursive ctags \ - ctags-recursive distclean distclean-compile distclean-depend \ - distclean-generic distclean-recursive distclean-tags distdir \ - dvi dvi-am dvi-recursive info info-am info-recursive install \ - install-am install-binPROGRAMS install-binSCRIPTS install-data \ + ctags-recursive distclean distclean-compile distclean-generic \ + distclean-recursive distclean-tags distdir dvi dvi-am \ + dvi-recursive info info-am info-recursive install install-am \ + install-binPROGRAMS install-binSCRIPTS install-data \ install-data-am install-data-recursive install-exec \ install-exec-am install-exec-recursive install-info \ install-info-am install-info-recursive install-man \ @@@@ -710,26 +652,26 @@@@ uninstall-info: uninstall-info-recursive startapp-cgi.o: $(srcdir)/startapp.cc - $(CXXCOMPILE) -DBUILD_AS_CGI -o $@@ -c $< + $(CXXCOMPILE) -DBUILD_AS_CGI -o $@@ -c $(srcdir)/startapp.cc # explicitly tell automake how to build scanners, because it really messes them # up otherwise. cpp_scanner.cc: $(srcdir)/cpp_scanner.ll - $(LEX) $(LFLAGS) -o $@@ $< + $(LEX) $(LFLAGS) -o $@@ $(srcdir)/cpp_scanner.ll java_scanner.cc: $(srcdir)/java_scanner.ll - $(LEX) $(LFLAGS) -o $@@ $< + $(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll prolog_scanner.cc: $(srcdir)/prolog_scanner.ll - $(LEX) $(LFLAGS) -o $@@ $< + $(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll perl_scanner.cc: $(srcdir)/perl_scanner.ll - $(LEX) $(LFLAGS) -o $@@ $< + $(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll php3_scanner.cc: $(srcdir)/php3_scanner.ll - $(LEX) $(LFLAGS) -o $@@ $< + $(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll python_scanner.cc: $(srcdir)/python_scanner.ll - $(LEX) $(LFLAGS) -o $@@ $< + $(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll flex_scanner.cc: $(srcdir)/flex_scanner.ll - $(LEX) $(LFLAGS) -o $@@ $< + $(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll changelog_scanner.cc: $(srcdir)/changelog_scanner.ll - $(LEX) $(LFLAGS) -o $@@ $< + $(LEX) $(LFLAGS) -o $@@ $(srcdir)/java_scanner.ll tags: ctags --c-types='defgmstuv' --recurse=yes $(srcdir)/* @ 1.2 log @Update to 1.6.3 News from version 1.6.1 the latest packaged version: Version 1.6.3 * Fixed problems in compilation in systems that do not provide getopt_long and yywrap (reported by Jackie Goodwin ). * Added .spec file for generating .rpm and .rpm.src (thanks to Christian W. Zuckschwerdt ). Version 1.6.2 * compliant to C++ standard headers (iostream etc.), no more backward compatibility warnings with gcc 3.2 (Thanks to Maurizio Loreti for the report). @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update to 1.6.1. Lots of changes and new features: you want to update! Changes since latest packaged version: Version 1.6.1 * fixed a bug in the configure phase that used to make the compilation fail with compilers not providing the function getop_long (reported by Horacio Montenegro ). Version 1.6 * scanners for flex and ChangeLog added by John Millaway * default to stdout when no --output is given along with the -i option and when --output="STDOUT" (as suggested by Hugh S. Myers, ) * fixed a problem with string comments in Python scanner * a separate executable is built, source-highlight-cgi, that can be used as a CGI program Version 1.5.1 * xhtml doctype generated correctly (thanks to Christian W. Zuckschwerdt and Josh Ghiloni ) reported by Martin Gebert * Anonymous CVS Access is now available http://savannah.gnu.org/projects/src-highlite Version 1.5 * xhtml output format is now handled (thanks to Christian W. Zuckschwerdt and Josh Ghiloni ) * assert is now recognized as a Java keyword (thanks to Fabio Calefato ) * a scanner for Python has been written by Martin Gebert . * when in Php3 strings can span more than one lines and line numbers are correctly formatted. Version 1.4 * fixed compilation error with some compilers due to headers istream.h and ostream.h (thanks to Dan barthel ) * a scanner for Php3 has been written by Alain Barbet * reading from stdin does not kill line numbers (notified by Keith Robertson ) * line number count is correctly reset when handling multiple files (bug fixed) * for Java sources, if, while, and other keywords that use '(' ')' are now correctly highlighted as keywords instead of as functions (reported by Manuel Kauers and Fabio Calefato ) * tabs are correctly handled for Prolog and Perl sources (reported by Martin Gebert ) Version 1.3 * now there is only one program, namely source-highlight, that accepts a command line option, --src-lang or -s, specifying the source language (for the moment java, cpp and prolog). Previous programs, java2html and cpp2html are provided as shell scripts, just for compatibility, but their use is not advised. * --out-format, -f, command line option added for specifying the output format (for the moment only html is accepted). Though only html is handled, this option is required. * a scanner for Prolog has been written by Martin Gebert . This scanner is still to be considered beta, and actually it was written for Visual Prolog, so it should be tested against other Prolog dialects. * a scanner for Perl has been written by Alain Barbet * Correctly check whether it is possible to write to a file (notified by Martin) * --tab option is correctly handled even for C/C++ files (bug fixed, notified by Martin) * Added option --line-number (-n) in order to print line numbers (as suggested by Ed Scott and Andre Charbonneau). * Man page added. @ text @d3 1 a3 1 --- src/Makefile.in.orig Wed Oct 30 18:21:55 2002 d5 2 a6 2 @@@@ -103,6 +103,7 @@@@ am__quote = @@am__quote@@ install_sh = @@install_sh@@ d10 2 d13 151 a163 3 bin_PROGRAMS = source-highlight source-highlight-cgi bin_SCRIPTS = java2html cpp2html @@@@ -599,26 +600,26 @@@@ uninstall-info: uninstall-info-recursive @