From a3645f73538dac0ba3c6fb8f566dba88d32af54e Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 1 Dec 2020 12:38:16 -0500 Subject: [PATCH 1/5] dev: simpler generation of cext depend file Related to #2118 --- ext/nokogiri/depend | 1632 +++++++++++--------------------------- ext/nokogiri/extconf.rb | 2 +- rakelib/cext-depend.rake | 41 +- 3 files changed, 488 insertions(+), 1187 deletions(-) diff --git a/ext/nokogiri/depend b/ext/nokogiri/depend index 830f055a29..ebc4502df1 100644 --- a/ext/nokogiri/depend +++ b/ext/nokogiri/depend @@ -1,1155 +1,477 @@ -html_document.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -html_element_description.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -html_entity_lookup.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -html_sax_parser_context.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -html_sax_push_parser.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -nokogiri.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_attr.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_attribute_decl.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_cdata.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_comment.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_document.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_document_fragment.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_dtd.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_element_content.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_element_decl.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_encoding_handler.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_entity_decl.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_entity_reference.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_io.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_namespace.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_node.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_node_set.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_processing_instruction.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_reader.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_relax_ng.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_sax_parser.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_sax_parser_context.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_sax_push_parser.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_schema.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_syntax_error.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_text.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xml_xpath_context.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - -xslt_stylesheet.o: ./html_document.h \ - ./html_element_description.h \ - ./html_entity_lookup.h \ - ./html_sax_parser_context.h \ - ./html_sax_push_parser.h \ - ./nokogiri.h \ - ./xml_attr.h \ - ./xml_attribute_decl.h \ - ./xml_cdata.h \ - ./xml_comment.h \ - ./xml_document.h \ - ./xml_document_fragment.h \ - ./xml_dtd.h \ - ./xml_element_content.h \ - ./xml_element_decl.h \ - ./xml_encoding_handler.h \ - ./xml_entity_decl.h \ - ./xml_entity_reference.h \ - ./xml_io.h \ - ./xml_libxml2_hacks.h \ - ./xml_namespace.h \ - ./xml_node.h \ - ./xml_node_set.h \ - ./xml_processing_instruction.h \ - ./xml_reader.h \ - ./xml_relax_ng.h \ - ./xml_sax_parser.h \ - ./xml_sax_parser_context.h \ - ./xml_sax_push_parser.h \ - ./xml_schema.h \ - ./xml_syntax_error.h \ - ./xml_text.h \ - ./xml_xpath_context.h \ - ./xslt_stylesheet.h - +# -*-makefile-*- +# DO NOT DELETE + +html_document.o: ./html_document.h ./nokogiri.h ./xml_libxml2_hacks.h +html_document.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +html_document.o: ./xml_node.h ./xml_text.h ./xml_cdata.h ./xml_attr.h +html_document.o: ./xml_processing_instruction.h ./xml_entity_reference.h +html_document.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +html_document.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +html_document.o: ./xml_entity_decl.h ./xml_xpath_context.h +html_document.o: ./xml_element_content.h ./xml_sax_parser_context.h +html_document.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +html_document.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +html_document.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +html_document.o: ./xml_relax_ng.h ./html_element_description.h +html_document.o: ./xml_namespace.h ./xml_encoding_handler.h +html_element_description.o: ./html_element_description.h ./nokogiri.h +html_element_description.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +html_element_description.o: ./html_entity_lookup.h ./html_document.h +html_element_description.o: ./xml_node.h ./xml_text.h ./xml_cdata.h +html_element_description.o: ./xml_attr.h ./xml_processing_instruction.h +html_element_description.o: ./xml_entity_reference.h +html_element_description.o: ./xml_document_fragment.h ./xml_comment.h +html_element_description.o: ./xml_node_set.h ./xml_dtd.h +html_element_description.o: ./xml_attribute_decl.h ./xml_element_decl.h +html_element_description.o: ./xml_entity_decl.h ./xml_xpath_context.h +html_element_description.o: ./xml_element_content.h +html_element_description.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +html_element_description.o: ./xml_sax_push_parser.h ./xml_reader.h +html_element_description.o: ./html_sax_parser_context.h +html_element_description.o: ./html_sax_push_parser.h ./xslt_stylesheet.h +html_element_description.o: ./xml_syntax_error.h ./xml_schema.h +html_element_description.o: ./xml_relax_ng.h ./xml_namespace.h +html_element_description.o: ./xml_encoding_handler.h +html_entity_lookup.o: ./html_entity_lookup.h ./nokogiri.h +html_entity_lookup.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +html_entity_lookup.o: ./html_document.h ./xml_node.h ./xml_text.h +html_entity_lookup.o: ./xml_cdata.h ./xml_attr.h +html_entity_lookup.o: ./xml_processing_instruction.h ./xml_entity_reference.h +html_entity_lookup.o: ./xml_document_fragment.h ./xml_comment.h +html_entity_lookup.o: ./xml_node_set.h ./xml_dtd.h ./xml_attribute_decl.h +html_entity_lookup.o: ./xml_element_decl.h ./xml_entity_decl.h +html_entity_lookup.o: ./xml_xpath_context.h ./xml_element_content.h +html_entity_lookup.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +html_entity_lookup.o: ./xml_sax_push_parser.h ./xml_reader.h +html_entity_lookup.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +html_entity_lookup.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +html_entity_lookup.o: ./xml_relax_ng.h ./html_element_description.h +html_entity_lookup.o: ./xml_namespace.h ./xml_encoding_handler.h +html_sax_parser_context.o: ./html_sax_parser_context.h ./nokogiri.h +html_sax_parser_context.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +html_sax_parser_context.o: ./html_entity_lookup.h ./html_document.h +html_sax_parser_context.o: ./xml_node.h ./xml_text.h ./xml_cdata.h +html_sax_parser_context.o: ./xml_attr.h ./xml_processing_instruction.h +html_sax_parser_context.o: ./xml_entity_reference.h ./xml_document_fragment.h +html_sax_parser_context.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +html_sax_parser_context.o: ./xml_attribute_decl.h ./xml_element_decl.h +html_sax_parser_context.o: ./xml_entity_decl.h ./xml_xpath_context.h +html_sax_parser_context.o: ./xml_element_content.h ./xml_sax_parser_context.h +html_sax_parser_context.o: ./xml_sax_parser.h ./xml_sax_push_parser.h +html_sax_parser_context.o: ./xml_reader.h ./html_sax_push_parser.h +html_sax_parser_context.o: ./xslt_stylesheet.h ./xml_syntax_error.h +html_sax_parser_context.o: ./xml_schema.h ./xml_relax_ng.h +html_sax_parser_context.o: ./html_element_description.h ./xml_namespace.h +html_sax_parser_context.o: ./xml_encoding_handler.h +html_sax_push_parser.o: ./html_sax_push_parser.h ./nokogiri.h +html_sax_push_parser.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +html_sax_push_parser.o: ./html_entity_lookup.h ./html_document.h ./xml_node.h +html_sax_push_parser.o: ./xml_text.h ./xml_cdata.h ./xml_attr.h +html_sax_push_parser.o: ./xml_processing_instruction.h +html_sax_push_parser.o: ./xml_entity_reference.h ./xml_document_fragment.h +html_sax_push_parser.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +html_sax_push_parser.o: ./xml_attribute_decl.h ./xml_element_decl.h +html_sax_push_parser.o: ./xml_entity_decl.h ./xml_xpath_context.h +html_sax_push_parser.o: ./xml_element_content.h ./xml_sax_parser_context.h +html_sax_push_parser.o: ./xml_sax_parser.h ./xml_sax_push_parser.h +html_sax_push_parser.o: ./xml_reader.h ./html_sax_parser_context.h +html_sax_push_parser.o: ./xslt_stylesheet.h ./xml_syntax_error.h +html_sax_push_parser.o: ./xml_schema.h ./xml_relax_ng.h +html_sax_push_parser.o: ./html_element_description.h ./xml_namespace.h +html_sax_push_parser.o: ./xml_encoding_handler.h +nokogiri.o: ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +nokogiri.o: ./html_entity_lookup.h ./html_document.h ./xml_node.h +nokogiri.o: ./xml_text.h ./xml_cdata.h ./xml_attr.h +nokogiri.o: ./xml_processing_instruction.h ./xml_entity_reference.h +nokogiri.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +nokogiri.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +nokogiri.o: ./xml_entity_decl.h ./xml_xpath_context.h ./xml_element_content.h +nokogiri.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +nokogiri.o: ./xml_sax_push_parser.h ./xml_reader.h +nokogiri.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +nokogiri.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +nokogiri.o: ./xml_relax_ng.h ./html_element_description.h ./xml_namespace.h +nokogiri.o: ./xml_encoding_handler.h +xml_attr.o: ./xml_attr.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h +xml_attr.o: ./xml_document.h ./html_entity_lookup.h ./html_document.h +xml_attr.o: ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_attr.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_attr.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +xml_attr.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +xml_attr.o: ./xml_entity_decl.h ./xml_xpath_context.h ./xml_element_content.h +xml_attr.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_attr.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_attr.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_attr.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_attr.o: ./xml_relax_ng.h ./html_element_description.h ./xml_namespace.h +xml_attr.o: ./xml_encoding_handler.h +xml_attribute_decl.o: ./xml_attribute_decl.h ./nokogiri.h +xml_attribute_decl.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +xml_attribute_decl.o: ./html_entity_lookup.h ./html_document.h ./xml_node.h +xml_attribute_decl.o: ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_attribute_decl.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_attribute_decl.o: ./xml_document_fragment.h ./xml_comment.h +xml_attribute_decl.o: ./xml_node_set.h ./xml_dtd.h ./xml_element_decl.h +xml_attribute_decl.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_attribute_decl.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_attribute_decl.o: ./xml_sax_parser.h ./xml_sax_push_parser.h +xml_attribute_decl.o: ./xml_reader.h ./html_sax_parser_context.h +xml_attribute_decl.o: ./html_sax_push_parser.h ./xslt_stylesheet.h +xml_attribute_decl.o: ./xml_syntax_error.h ./xml_schema.h ./xml_relax_ng.h +xml_attribute_decl.o: ./html_element_description.h ./xml_namespace.h +xml_attribute_decl.o: ./xml_encoding_handler.h +xml_cdata.o: ./xml_cdata.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h +xml_cdata.o: ./xml_document.h ./html_entity_lookup.h ./html_document.h +xml_cdata.o: ./xml_node.h ./xml_text.h ./xml_attr.h +xml_cdata.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_cdata.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +xml_cdata.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +xml_cdata.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_cdata.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_cdata.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xml_cdata.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_cdata.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_cdata.o: ./xml_relax_ng.h ./html_element_description.h ./xml_namespace.h +xml_cdata.o: ./xml_encoding_handler.h +xml_comment.o: ./xml_comment.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h +xml_comment.o: ./xml_document.h ./html_entity_lookup.h ./html_document.h +xml_comment.o: ./xml_node.h ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_comment.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_comment.o: ./xml_document_fragment.h ./xml_node_set.h ./xml_dtd.h +xml_comment.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_comment.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_comment.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_comment.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xml_comment.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_comment.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_comment.o: ./xml_relax_ng.h ./html_element_description.h +xml_comment.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_document.o: ./xml_document.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_document.o: ./xml_io.h ./html_entity_lookup.h ./html_document.h +xml_document.o: ./xml_node.h ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_document.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_document.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +xml_document.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +xml_document.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_document.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_document.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xml_document.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_document.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_document.o: ./xml_relax_ng.h ./html_element_description.h +xml_document.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_document_fragment.o: ./xml_document_fragment.h ./nokogiri.h +xml_document_fragment.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +xml_document_fragment.o: ./html_entity_lookup.h ./html_document.h +xml_document_fragment.o: ./xml_node.h ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_document_fragment.o: ./xml_processing_instruction.h +xml_document_fragment.o: ./xml_entity_reference.h ./xml_comment.h +xml_document_fragment.o: ./xml_node_set.h ./xml_dtd.h ./xml_attribute_decl.h +xml_document_fragment.o: ./xml_element_decl.h ./xml_entity_decl.h +xml_document_fragment.o: ./xml_xpath_context.h ./xml_element_content.h +xml_document_fragment.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_document_fragment.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_document_fragment.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_document_fragment.o: ./xslt_stylesheet.h ./xml_syntax_error.h +xml_document_fragment.o: ./xml_schema.h ./xml_relax_ng.h +xml_document_fragment.o: ./html_element_description.h ./xml_namespace.h +xml_document_fragment.o: ./xml_encoding_handler.h +xml_dtd.o: ./xml_dtd.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h +xml_dtd.o: ./xml_document.h ./html_entity_lookup.h ./html_document.h +xml_dtd.o: ./xml_node.h ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_dtd.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_dtd.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +xml_dtd.o: ./xml_attribute_decl.h ./xml_element_decl.h ./xml_entity_decl.h +xml_dtd.o: ./xml_xpath_context.h ./xml_element_content.h +xml_dtd.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_dtd.o: ./xml_sax_push_parser.h ./xml_reader.h ./html_sax_parser_context.h +xml_dtd.o: ./html_sax_push_parser.h ./xslt_stylesheet.h ./xml_syntax_error.h +xml_dtd.o: ./xml_schema.h ./xml_relax_ng.h ./html_element_description.h +xml_dtd.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_element_content.o: ./xml_element_content.h ./nokogiri.h +xml_element_content.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +xml_element_content.o: ./html_entity_lookup.h ./html_document.h ./xml_node.h +xml_element_content.o: ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_element_content.o: ./xml_processing_instruction.h +xml_element_content.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_element_content.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_element_content.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_element_content.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_element_content.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_element_content.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_element_content.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_element_content.o: ./xslt_stylesheet.h ./xml_syntax_error.h +xml_element_content.o: ./xml_schema.h ./xml_relax_ng.h +xml_element_content.o: ./html_element_description.h ./xml_namespace.h +xml_element_content.o: ./xml_encoding_handler.h +xml_element_decl.o: ./xml_element_decl.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_element_decl.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xml_element_decl.o: ./html_document.h ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_element_decl.o: ./xml_attr.h ./xml_processing_instruction.h +xml_element_decl.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_element_decl.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_element_decl.o: ./xml_attribute_decl.h ./xml_entity_decl.h +xml_element_decl.o: ./xml_xpath_context.h ./xml_element_content.h +xml_element_decl.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_element_decl.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_element_decl.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_element_decl.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_element_decl.o: ./xml_relax_ng.h ./html_element_description.h +xml_element_decl.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_encoding_handler.o: ./xml_encoding_handler.h ./nokogiri.h +xml_encoding_handler.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +xml_encoding_handler.o: ./html_entity_lookup.h ./html_document.h ./xml_node.h +xml_encoding_handler.o: ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_encoding_handler.o: ./xml_processing_instruction.h +xml_encoding_handler.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_encoding_handler.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_encoding_handler.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_encoding_handler.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_encoding_handler.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_encoding_handler.o: ./xml_sax_parser.h ./xml_sax_push_parser.h +xml_encoding_handler.o: ./xml_reader.h ./html_sax_parser_context.h +xml_encoding_handler.o: ./html_sax_push_parser.h ./xslt_stylesheet.h +xml_encoding_handler.o: ./xml_syntax_error.h ./xml_schema.h ./xml_relax_ng.h +xml_encoding_handler.o: ./html_element_description.h ./xml_namespace.h +xml_entity_decl.o: ./xml_entity_decl.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_entity_decl.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xml_entity_decl.o: ./html_document.h ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_entity_decl.o: ./xml_attr.h ./xml_processing_instruction.h +xml_entity_decl.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_entity_decl.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_entity_decl.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_entity_decl.o: ./xml_xpath_context.h ./xml_element_content.h +xml_entity_decl.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_entity_decl.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_entity_decl.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_entity_decl.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_entity_decl.o: ./xml_relax_ng.h ./html_element_description.h +xml_entity_decl.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_entity_reference.o: ./xml_entity_reference.h ./nokogiri.h +xml_entity_reference.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +xml_entity_reference.o: ./html_entity_lookup.h ./html_document.h ./xml_node.h +xml_entity_reference.o: ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_entity_reference.o: ./xml_processing_instruction.h +xml_entity_reference.o: ./xml_document_fragment.h ./xml_comment.h +xml_entity_reference.o: ./xml_node_set.h ./xml_dtd.h ./xml_attribute_decl.h +xml_entity_reference.o: ./xml_element_decl.h ./xml_entity_decl.h +xml_entity_reference.o: ./xml_xpath_context.h ./xml_element_content.h +xml_entity_reference.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_entity_reference.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_entity_reference.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_entity_reference.o: ./xslt_stylesheet.h ./xml_syntax_error.h +xml_entity_reference.o: ./xml_schema.h ./xml_relax_ng.h +xml_entity_reference.o: ./html_element_description.h ./xml_namespace.h +xml_entity_reference.o: ./xml_encoding_handler.h +xml_io.o: ./xml_io.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_document.h +xml_io.o: ./html_entity_lookup.h ./html_document.h ./xml_node.h ./xml_text.h +xml_io.o: ./xml_cdata.h ./xml_attr.h ./xml_processing_instruction.h +xml_io.o: ./xml_entity_reference.h ./xml_document_fragment.h ./xml_comment.h +xml_io.o: ./xml_node_set.h ./xml_dtd.h ./xml_attribute_decl.h +xml_io.o: ./xml_element_decl.h ./xml_entity_decl.h ./xml_xpath_context.h +xml_io.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_io.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xml_io.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_io.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_io.o: ./xml_relax_ng.h ./html_element_description.h ./xml_namespace.h +xml_io.o: ./xml_encoding_handler.h +xml_namespace.o: ./xml_namespace.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_namespace.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xml_namespace.o: ./html_document.h ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_namespace.o: ./xml_attr.h ./xml_processing_instruction.h +xml_namespace.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_namespace.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_namespace.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_namespace.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_namespace.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_namespace.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xml_namespace.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_namespace.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_namespace.o: ./xml_relax_ng.h ./html_element_description.h +xml_namespace.o: ./xml_encoding_handler.h +xml_node.o: ./xml_node.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h +xml_node.o: ./xml_document.h ./html_entity_lookup.h ./html_document.h +xml_node.o: ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_node.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_node.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +xml_node.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +xml_node.o: ./xml_entity_decl.h ./xml_xpath_context.h ./xml_element_content.h +xml_node.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_node.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_node.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_node.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_node.o: ./xml_relax_ng.h ./html_element_description.h ./xml_namespace.h +xml_node.o: ./xml_encoding_handler.h +xml_node_set.o: ./xml_node_set.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_node_set.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xml_node_set.o: ./html_document.h ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_node_set.o: ./xml_attr.h ./xml_processing_instruction.h +xml_node_set.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_node_set.o: ./xml_comment.h ./xml_dtd.h ./xml_attribute_decl.h +xml_node_set.o: ./xml_element_decl.h ./xml_entity_decl.h +xml_node_set.o: ./xml_xpath_context.h ./xml_element_content.h +xml_node_set.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_node_set.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_node_set.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_node_set.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_node_set.o: ./xml_relax_ng.h ./html_element_description.h +xml_node_set.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_processing_instruction.o: ./xml_processing_instruction.h ./nokogiri.h +xml_processing_instruction.o: ./xml_libxml2_hacks.h ./xml_io.h +xml_processing_instruction.o: ./xml_document.h ./html_entity_lookup.h +xml_processing_instruction.o: ./html_document.h ./xml_node.h ./xml_text.h +xml_processing_instruction.o: ./xml_cdata.h ./xml_attr.h +xml_processing_instruction.o: ./xml_entity_reference.h +xml_processing_instruction.o: ./xml_document_fragment.h ./xml_comment.h +xml_processing_instruction.o: ./xml_node_set.h ./xml_dtd.h +xml_processing_instruction.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_processing_instruction.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_processing_instruction.o: ./xml_element_content.h +xml_processing_instruction.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_processing_instruction.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_processing_instruction.o: ./html_sax_parser_context.h +xml_processing_instruction.o: ./html_sax_push_parser.h ./xslt_stylesheet.h +xml_processing_instruction.o: ./xml_syntax_error.h ./xml_schema.h +xml_processing_instruction.o: ./xml_relax_ng.h ./html_element_description.h +xml_processing_instruction.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_reader.o: ./xml_reader.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h +xml_reader.o: ./xml_document.h ./html_entity_lookup.h ./html_document.h +xml_reader.o: ./xml_node.h ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_reader.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_reader.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +xml_reader.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +xml_reader.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_reader.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_reader.o: ./xml_sax_parser.h ./xml_sax_push_parser.h +xml_reader.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_reader.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_reader.o: ./xml_relax_ng.h ./html_element_description.h ./xml_namespace.h +xml_reader.o: ./xml_encoding_handler.h +xml_relax_ng.o: ./xml_relax_ng.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_relax_ng.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xml_relax_ng.o: ./html_document.h ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_relax_ng.o: ./xml_attr.h ./xml_processing_instruction.h +xml_relax_ng.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_relax_ng.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_relax_ng.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_relax_ng.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_relax_ng.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_relax_ng.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xml_relax_ng.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_relax_ng.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_relax_ng.o: ./html_element_description.h ./xml_namespace.h +xml_relax_ng.o: ./xml_encoding_handler.h +xml_sax_parser.o: ./xml_sax_parser.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_sax_parser.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xml_sax_parser.o: ./html_document.h ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_sax_parser.o: ./xml_attr.h ./xml_processing_instruction.h +xml_sax_parser.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_sax_parser.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_sax_parser.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_sax_parser.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_sax_parser.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_sax_parser.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_sax_parser.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_sax_parser.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_sax_parser.o: ./xml_relax_ng.h ./html_element_description.h +xml_sax_parser.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_sax_parser_context.o: ./xml_sax_parser_context.h ./nokogiri.h +xml_sax_parser_context.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +xml_sax_parser_context.o: ./html_entity_lookup.h ./html_document.h +xml_sax_parser_context.o: ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_sax_parser_context.o: ./xml_attr.h ./xml_processing_instruction.h +xml_sax_parser_context.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_sax_parser_context.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_sax_parser_context.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_sax_parser_context.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_sax_parser_context.o: ./xml_element_content.h ./xml_sax_parser.h +xml_sax_parser_context.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_sax_parser_context.o: ./html_sax_parser_context.h +xml_sax_parser_context.o: ./html_sax_push_parser.h ./xslt_stylesheet.h +xml_sax_parser_context.o: ./xml_syntax_error.h ./xml_schema.h +xml_sax_parser_context.o: ./xml_relax_ng.h ./html_element_description.h +xml_sax_parser_context.o: ./xml_namespace.h ./xml_encoding_handler.h +xml_sax_push_parser.o: ./xml_sax_push_parser.h ./nokogiri.h +xml_sax_push_parser.o: ./xml_libxml2_hacks.h ./xml_io.h ./xml_document.h +xml_sax_push_parser.o: ./html_entity_lookup.h ./html_document.h ./xml_node.h +xml_sax_push_parser.o: ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_sax_push_parser.o: ./xml_processing_instruction.h +xml_sax_push_parser.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_sax_push_parser.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_sax_push_parser.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_sax_push_parser.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_sax_push_parser.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_sax_push_parser.o: ./xml_sax_parser.h ./xml_reader.h +xml_sax_push_parser.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_sax_push_parser.o: ./xslt_stylesheet.h ./xml_syntax_error.h +xml_sax_push_parser.o: ./xml_schema.h ./xml_relax_ng.h +xml_sax_push_parser.o: ./html_element_description.h ./xml_namespace.h +xml_sax_push_parser.o: ./xml_encoding_handler.h +xml_schema.o: ./xml_schema.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h +xml_schema.o: ./xml_document.h ./html_entity_lookup.h ./html_document.h +xml_schema.o: ./xml_node.h ./xml_text.h ./xml_cdata.h ./xml_attr.h +xml_schema.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_schema.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +xml_schema.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +xml_schema.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_schema.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_schema.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xml_schema.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_schema.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_relax_ng.h +xml_schema.o: ./html_element_description.h ./xml_namespace.h +xml_schema.o: ./xml_encoding_handler.h +xml_syntax_error.o: ./xml_syntax_error.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_syntax_error.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xml_syntax_error.o: ./html_document.h ./xml_node.h ./xml_text.h ./xml_cdata.h +xml_syntax_error.o: ./xml_attr.h ./xml_processing_instruction.h +xml_syntax_error.o: ./xml_entity_reference.h ./xml_document_fragment.h +xml_syntax_error.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xml_syntax_error.o: ./xml_attribute_decl.h ./xml_element_decl.h +xml_syntax_error.o: ./xml_entity_decl.h ./xml_xpath_context.h +xml_syntax_error.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_syntax_error.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xml_syntax_error.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_syntax_error.o: ./xslt_stylesheet.h ./xml_schema.h ./xml_relax_ng.h +xml_syntax_error.o: ./html_element_description.h ./xml_namespace.h +xml_syntax_error.o: ./xml_encoding_handler.h +xml_text.o: ./xml_text.h ./nokogiri.h ./xml_libxml2_hacks.h ./xml_io.h +xml_text.o: ./xml_document.h ./html_entity_lookup.h ./html_document.h +xml_text.o: ./xml_node.h ./xml_cdata.h ./xml_attr.h +xml_text.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_text.o: ./xml_document_fragment.h ./xml_comment.h ./xml_node_set.h +xml_text.o: ./xml_dtd.h ./xml_attribute_decl.h ./xml_element_decl.h +xml_text.o: ./xml_entity_decl.h ./xml_xpath_context.h ./xml_element_content.h +xml_text.o: ./xml_sax_parser_context.h ./xml_sax_parser.h +xml_text.o: ./xml_sax_push_parser.h ./xml_reader.h +xml_text.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xml_text.o: ./xslt_stylesheet.h ./xml_syntax_error.h ./xml_schema.h +xml_text.o: ./xml_relax_ng.h ./html_element_description.h ./xml_namespace.h +xml_text.o: ./xml_encoding_handler.h +xml_xpath_context.o: ./xml_xpath_context.h ./nokogiri.h ./xml_libxml2_hacks.h +xml_xpath_context.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xml_xpath_context.o: ./html_document.h ./xml_node.h ./xml_text.h +xml_xpath_context.o: ./xml_cdata.h ./xml_attr.h +xml_xpath_context.o: ./xml_processing_instruction.h ./xml_entity_reference.h +xml_xpath_context.o: ./xml_document_fragment.h ./xml_comment.h +xml_xpath_context.o: ./xml_node_set.h ./xml_dtd.h ./xml_attribute_decl.h +xml_xpath_context.o: ./xml_element_decl.h ./xml_entity_decl.h +xml_xpath_context.o: ./xml_element_content.h ./xml_sax_parser_context.h +xml_xpath_context.o: ./xml_sax_parser.h ./xml_sax_push_parser.h +xml_xpath_context.o: ./xml_reader.h ./html_sax_parser_context.h +xml_xpath_context.o: ./html_sax_push_parser.h ./xslt_stylesheet.h +xml_xpath_context.o: ./xml_syntax_error.h ./xml_schema.h ./xml_relax_ng.h +xml_xpath_context.o: ./html_element_description.h ./xml_namespace.h +xml_xpath_context.o: ./xml_encoding_handler.h +xslt_stylesheet.o: ./xslt_stylesheet.h ./nokogiri.h ./xml_libxml2_hacks.h +xslt_stylesheet.o: ./xml_io.h ./xml_document.h ./html_entity_lookup.h +xslt_stylesheet.o: ./html_document.h ./xml_node.h ./xml_text.h ./xml_cdata.h +xslt_stylesheet.o: ./xml_attr.h ./xml_processing_instruction.h +xslt_stylesheet.o: ./xml_entity_reference.h ./xml_document_fragment.h +xslt_stylesheet.o: ./xml_comment.h ./xml_node_set.h ./xml_dtd.h +xslt_stylesheet.o: ./xml_attribute_decl.h ./xml_element_decl.h +xslt_stylesheet.o: ./xml_entity_decl.h ./xml_xpath_context.h +xslt_stylesheet.o: ./xml_element_content.h ./xml_sax_parser_context.h +xslt_stylesheet.o: ./xml_sax_parser.h ./xml_sax_push_parser.h ./xml_reader.h +xslt_stylesheet.o: ./html_sax_parser_context.h ./html_sax_push_parser.h +xslt_stylesheet.o: ./xml_syntax_error.h ./xml_schema.h ./xml_relax_ng.h +xslt_stylesheet.o: ./html_element_description.h ./xml_namespace.h +xslt_stylesheet.o: ./xml_encoding_handler.h diff --git a/ext/nokogiri/extconf.rb b/ext/nokogiri/extconf.rb index b955902a4e..259bf4470f 100644 --- a/ext/nokogiri/extconf.rb +++ b/ext/nokogiri/extconf.rb @@ -766,8 +766,8 @@ def configure # Do not clean if run in a development work tree. File.open('Makefile', 'at') do |mk| mk.print <<~EOF - all: clean-ports + all: clean-ports clean-ports: $(DLLIB) \t-$(Q)$(RUBY) $(srcdir)/extconf.rb --clean --#{static_p ? 'enable' : 'disable'}-static EOF diff --git a/rakelib/cext-depend.rake b/rakelib/cext-depend.rake index 002f44fcd4..59807ac320 100644 --- a/rakelib/cext-depend.rake +++ b/rakelib/cext-depend.rake @@ -1,36 +1,15 @@ require "set" -desc "Regenerate C extension dependencies in #{File.dirname(HOE.spec.extensions.first)}/depend" -task :depend do - # this task requires the `makedepend` utility - - - ext_dir = File.dirname(HOE.spec.extensions.first) - Dir.chdir(ext_dir) do - File.open("depend", "w") do |depend| - deps = {} - - makedepend = `makedepend -f- -Y -I. *.c 2> /dev/null` - makedepend.split("\n").each do |line| - next unless line =~ /:/ - obj_file = line[/(.*):/, 1] - deps[obj_file] ||= Set.new - line[/:(.*)/, 1].split.each do |dep| - deps[obj_file].add dep - end - end - - deps.keys.sort.each do |obj_file| - obj_deps = deps[obj_file].to_a.sort - depend.print "#{obj_file}: " - obj_deps.each_with_index do |obj_dep, j| - depend.print obj_dep - if j+1 < obj_deps.length - depend.print " \\\n#{" " * obj_file.length} " - end - end - depend.puts - depend.puts +namespace "cext" do + desc "Regenerate C extension dependencies in #{File.dirname(HOE.spec.extensions.first)}/depend" + task :depend do + # this task requires the `makedepend` utility + HOE.spec.extensions.each do |extconf| + ext_dir = File.dirname(extconf) + Dir.chdir(ext_dir) do + puts "(in #{ext_dir})" + File.exist?("depend") or FileUtils.touch("depend") + sh "makedepend -f depend -Y -I. *.c 2> /dev/null" end end end From a592876440f25b92d1e3394dce2dd1d46c5f5d5d Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 2 Dec 2020 09:33:42 -0500 Subject: [PATCH 2/5] refactor: extract the VERSION constant into a separate file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit also: - extract VersionInfo into a separate file - make lib/nokogiri/version.rb require_relative these two new files so that we can easily find it from Rakefile now, and potentially a standalone gem spec later. (This was driven out because Hoe does a questionable thing when inferring the gem version, which is to grep through files in order of Manifest.txt; and this is leading to using the LIBXML_REQUIRED_VERSION as the VERSION. ¯\_(ツ)_/¯) --- Manifest.txt | 2 + Rakefile | 3 + lib/nokogiri/version.rb | 156 +------------------------- lib/nokogiri/version/constant.rb | 5 + lib/nokogiri/version/info.rb | 152 +++++++++++++++++++++++++ rakelib/set-version-to-timestamp.rake | 12 +- 6 files changed, 173 insertions(+), 157 deletions(-) create mode 100644 lib/nokogiri/version/constant.rb create mode 100644 lib/nokogiri/version/info.rb diff --git a/Manifest.txt b/Manifest.txt index d2a6b213ff..6114810f4b 100644 --- a/Manifest.txt +++ b/Manifest.txt @@ -188,6 +188,8 @@ lib/nokogiri/html/sax/push_parser.rb lib/nokogiri/jruby/dependencies.rb lib/nokogiri/syntax_error.rb lib/nokogiri/version.rb +lib/nokogiri/version/constant.rb +lib/nokogiri/version/info.rb lib/nokogiri/xml.rb lib/nokogiri/xml/attr.rb lib/nokogiri/xml/attribute_decl.rb diff --git a/Rakefile b/Rakefile index ce4dfc0c5d..2ff3f3cab0 100644 --- a/Rakefile +++ b/Rakefile @@ -7,8 +7,11 @@ Hoe.plugin :git Hoe.plugin :markdown require_relative "rakelib/util" +require_relative "lib/nokogiri/version/constant" HOE = Hoe.spec "nokogiri" do |hoe| + hoe.version = Nokogiri::VERSION + hoe.author = [ "Mike Dalessio", "Aaron Patterson", diff --git a/lib/nokogiri/version.rb b/lib/nokogiri/version.rb index 6500e34f29..1637b2ce51 100644 --- a/lib/nokogiri/version.rb +++ b/lib/nokogiri/version.rb @@ -1,155 +1,3 @@ # frozen_string_literal: true -module Nokogiri - # The version of Nokogiri you are using - VERSION = "1.11.0.rc3" - - class VersionInfo # :nodoc: - def jruby? - ::JRUBY_VERSION if RUBY_PLATFORM == "java" - end - - def engine - defined?(RUBY_ENGINE) ? RUBY_ENGINE : "mri" - end - - def loaded_libxml_version - Gem::Version.new(LIBXML_LOADED_VERSION. - scan(/^(\d+)(\d\d)(\d\d)(?!\d)/).first. - collect(&:to_i). - join(".")) - end - - def compiled_libxml_version - Gem::Version.new LIBXML_COMPILED_VERSION - end - - def loaded_libxslt_version - Gem::Version.new(LIBXSLT_LOADED_VERSION. - scan(/^(\d+)(\d\d)(\d\d)(?!\d)/).first. - collect(&:to_i). - join(".")) - end - - def compiled_libxslt_version - Gem::Version.new LIBXSLT_COMPILED_VERSION - end - - def libxml2? - defined?(LIBXML_COMPILED_VERSION) - end - - def libxml2_has_iconv? - defined?(LIBXML_ICONV_ENABLED) && LIBXML_ICONV_ENABLED - end - - def libxml2_using_system? - !libxml2_using_packaged? - end - - def libxml2_using_packaged? - NOKOGIRI_USE_PACKAGED_LIBRARIES - end - - def warnings - warnings = [] - - if libxml2? - if compiled_libxml_version != loaded_libxml_version - warnings << "Nokogiri was built against libxml version #{compiled_libxml_version}, but has dynamically loaded #{loaded_libxml_version}" - end - - if compiled_libxslt_version != loaded_libxslt_version - warnings << "Nokogiri was built against libxslt version #{compiled_libxslt_version}, but has dynamically loaded #{loaded_libxslt_version}" - end - end - - warnings - end - - def to_hash - {}.tap do |vi| - vi["warnings"] = [] - vi["nokogiri"] = Nokogiri::VERSION - vi["ruby"] = {}.tap do |ruby| - ruby["version"] = ::RUBY_VERSION - ruby["platform"] = ::RUBY_PLATFORM - ruby["gem_platform"] = ::Gem::Platform.local.to_s - ruby["description"] = ::RUBY_DESCRIPTION - ruby["engine"] = engine - ruby["jruby"] = jruby? if jruby? - end - - if libxml2? - vi["libxml"] = {}.tap do |libxml| - if libxml2_using_packaged? - libxml["source"] = "packaged" - libxml["patches"] = NOKOGIRI_LIBXML2_PATCHES - else - libxml["source"] = "system" - end - libxml["compiled"] = compiled_libxml_version.to_s - libxml["loaded"] = loaded_libxml_version.to_s - libxml["iconv_enabled"] = libxml2_has_iconv? - end - - vi["libxslt"] = {}.tap do |libxslt| - if libxml2_using_packaged? - libxslt["source"] = "packaged" - libxslt["patches"] = NOKOGIRI_LIBXSLT_PATCHES - else - libxslt["source"] = "system" - end - libxslt["compiled"] = compiled_libxslt_version.to_s - libxslt["loaded"] = loaded_libxslt_version.to_s - end - - vi["warnings"] = warnings - elsif jruby? - vi["xerces"] = Nokogiri::XERCES_VERSION - vi["nekohtml"] = Nokogiri::NEKO_VERSION - end - end - end - - def to_markdown - begin - require "psych" - rescue LoadError - end - require "yaml" - "# Nokogiri (#{Nokogiri::VERSION})\n" + - YAML.dump(to_hash).each_line.map { |line| " #{line}" }.join - end - - # FIXME: maybe switch to singleton? - @@instance = new - @@instance.warnings.each do |warning| - warn "WARNING: #{warning}" - end - def self.instance; @@instance; end - end - - def self.uses_libxml?(requirement = nil) # :nodoc: - return false unless VersionInfo.instance.libxml2? - return true unless requirement - return Gem::Requirement.new(requirement).satisfied_by?(VersionInfo.instance.loaded_libxml_version) - end - - def self.jruby? # :nodoc: - VersionInfo.instance.jruby? - end - - # Ensure constants used in this file are loaded - see #1896 - if Nokogiri.jruby? - require "nokogiri/jruby/dependencies" - end - begin - RUBY_VERSION =~ /(\d+\.\d+)/ - require "nokogiri/#{$1}/nokogiri" - rescue LoadError - require "nokogiri/nokogiri" - end - - # More complete version information about libxml - VERSION_INFO = VersionInfo.instance.to_hash -end +require_relative "version/constant" +require_relative "version/info" diff --git a/lib/nokogiri/version/constant.rb b/lib/nokogiri/version/constant.rb new file mode 100644 index 0000000000..d47b18723d --- /dev/null +++ b/lib/nokogiri/version/constant.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true +module Nokogiri + # The version of Nokogiri you are using + VERSION = "1.11.0.rc3" +end diff --git a/lib/nokogiri/version/info.rb b/lib/nokogiri/version/info.rb new file mode 100644 index 0000000000..90bae8bad9 --- /dev/null +++ b/lib/nokogiri/version/info.rb @@ -0,0 +1,152 @@ +# frozen_string_literal: true +module Nokogiri + class VersionInfo # :nodoc: + def jruby? + ::JRUBY_VERSION if RUBY_PLATFORM == "java" + end + + def engine + defined?(RUBY_ENGINE) ? RUBY_ENGINE : "mri" + end + + def loaded_libxml_version + Gem::Version.new(LIBXML_LOADED_VERSION. + scan(/^(\d+)(\d\d)(\d\d)(?!\d)/).first. + collect(&:to_i). + join(".")) + end + + def compiled_libxml_version + Gem::Version.new LIBXML_COMPILED_VERSION + end + + def loaded_libxslt_version + Gem::Version.new(LIBXSLT_LOADED_VERSION. + scan(/^(\d+)(\d\d)(\d\d)(?!\d)/).first. + collect(&:to_i). + join(".")) + end + + def compiled_libxslt_version + Gem::Version.new LIBXSLT_COMPILED_VERSION + end + + def libxml2? + defined?(LIBXML_COMPILED_VERSION) + end + + def libxml2_has_iconv? + defined?(LIBXML_ICONV_ENABLED) && LIBXML_ICONV_ENABLED + end + + def libxml2_using_system? + !libxml2_using_packaged? + end + + def libxml2_using_packaged? + NOKOGIRI_USE_PACKAGED_LIBRARIES + end + + def warnings + warnings = [] + + if libxml2? + if compiled_libxml_version != loaded_libxml_version + warnings << "Nokogiri was built against libxml version #{compiled_libxml_version}, but has dynamically loaded #{loaded_libxml_version}" + end + + if compiled_libxslt_version != loaded_libxslt_version + warnings << "Nokogiri was built against libxslt version #{compiled_libxslt_version}, but has dynamically loaded #{loaded_libxslt_version}" + end + end + + warnings + end + + def to_hash + {}.tap do |vi| + vi["warnings"] = [] + vi["nokogiri"] = Nokogiri::VERSION + vi["ruby"] = {}.tap do |ruby| + ruby["version"] = ::RUBY_VERSION + ruby["platform"] = ::RUBY_PLATFORM + ruby["gem_platform"] = ::Gem::Platform.local.to_s + ruby["description"] = ::RUBY_DESCRIPTION + ruby["engine"] = engine + ruby["jruby"] = jruby? if jruby? + end + + if libxml2? + vi["libxml"] = {}.tap do |libxml| + if libxml2_using_packaged? + libxml["source"] = "packaged" + libxml["patches"] = NOKOGIRI_LIBXML2_PATCHES + else + libxml["source"] = "system" + end + libxml["compiled"] = compiled_libxml_version.to_s + libxml["loaded"] = loaded_libxml_version.to_s + libxml["iconv_enabled"] = libxml2_has_iconv? + end + + vi["libxslt"] = {}.tap do |libxslt| + if libxml2_using_packaged? + libxslt["source"] = "packaged" + libxslt["patches"] = NOKOGIRI_LIBXSLT_PATCHES + else + libxslt["source"] = "system" + end + libxslt["compiled"] = compiled_libxslt_version.to_s + libxslt["loaded"] = loaded_libxslt_version.to_s + end + + vi["warnings"] = warnings + elsif jruby? + vi["xerces"] = Nokogiri::XERCES_VERSION + vi["nekohtml"] = Nokogiri::NEKO_VERSION + end + end + end + + def to_markdown + begin + require "psych" + rescue LoadError + end + require "yaml" + "# Nokogiri (#{Nokogiri::VERSION})\n" + + YAML.dump(to_hash).each_line.map { |line| " #{line}" }.join + end + + # FIXME: maybe switch to singleton? + @@instance = new + @@instance.warnings.each do |warning| + warn "WARNING: #{warning}" + end + def self.instance; @@instance; end + end + + def self.uses_libxml?(requirement = nil) # :nodoc: + return false unless VersionInfo.instance.libxml2? + return true unless requirement + return Gem::Requirement.new(requirement).satisfied_by?(VersionInfo.instance.loaded_libxml_version) + end + + def self.jruby? # :nodoc: + VersionInfo.instance.jruby? + end + + # Ensure constants used in this file are loaded - see #1896 + if Nokogiri.jruby? + require "nokogiri/jruby/dependencies" + end + begin + RUBY_VERSION =~ /(\d+\.\d+)/ + require "nokogiri/#{$1}/nokogiri" + rescue LoadError + require "nokogiri/nokogiri" + end + + # More complete version information about libxml + VERSION_INFO = VersionInfo.instance.to_hash +end diff --git a/rakelib/set-version-to-timestamp.rake b/rakelib/set-version-to-timestamp.rake index 4a574fa458..11de1784fe 100644 --- a/rakelib/set-version-to-timestamp.rake +++ b/rakelib/set-version-to-timestamp.rake @@ -1,11 +1,17 @@ +# frozen_string_literal: true +desc "Temporarily set Nokogiri::VERSION to a unique timestamp" task "set-version-to-timestamp" do + # this task is used by concourse/tasks/gem-test/gem-build.sh + # to test building, packaging, and installing a Nokogiri gem version = Time.now.strftime("%Y.%m%d.%H%M") - version_file_path = File.join(File.dirname(__FILE__), "..", "lib/nokogiri/version.rb") + version_file_path = File.join(File.dirname(__FILE__), "..", "lib/nokogiri/version/constant.rb") version_file_contents = File.read(version_file_path) - version_file_contents.gsub!(/^\s*VERSION\s*=.*/, "VERSION = \"#{version}\"") + unless version_file_contents.gsub!(/^\s*VERSION\s*=.*/, "VERSION = \"#{version}\"") + raise("Could not hack the VERSION constant") + end - File.open(version_file_path, "w") { |f| f.write version_file_contents } + File.open(version_file_path, "w") { |f| f.write(version_file_contents) } puts "NOTE: wrote version as \"#{version}\"" end From 48c9687330b27112a109436da7b5567a207558ff Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 2 Dec 2020 21:58:00 -0500 Subject: [PATCH 3/5] chore: reformat .hoerc and add some filtering for common temp files to reduce noise --- .hoerc | 81 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/.hoerc b/.hoerc index 54c813cf5f..21b93e7b13 100644 --- a/.hoerc +++ b/.hoerc @@ -2,45 +2,46 @@ --- # this regex is what `rake check_manifest` should consider excluded from the gem exclude: !ruby/regexp '/ -(^\.\/ - ((\.git - |.vagrant - |.yardoc - |concourse - |gems - |ports - |suppressions - |rakelib - |test - |tmp - )\/) - |\.(autotest - |cross_rubies - |editorconfig - |gemtest - |github - |gitignore - |hoerc - |travis\.yml - ) - |Gemfile.* - |Manifest.txt - |Rakefile - |appveyor\.yml - |CHANGELOG.md - |CODE_OF_CONDUCT.md - |CONTRIBUTING.md - |ROADMAP.md - |SECURITY.md - |STANDARD_RESPONSES.md - |Vagrantfile - |Y_U_NO_GEMSPEC.md - |C_CODING_STYLE.* - |h1-.* - |[0-9][0-9][0-9][0-9]-.* - |scripts - |sorbet - |patches +(^\.\/(\.git| + \.github| + \.vagrant| + \.yardoc| + concourse| + gems| + patches| + ports| + pkg| + suppressions| + rakelib| + scripts| + sorbet| + test| + tmp + )\/ + | (\.autotest| + \.cross_rubies| + \.editorconfig| + \.gemtest| + \.gitignore| + \.hoerc| + \.travis\.yml| + appveyor\.yml| + CHANGELOG\.md| + CODE_OF_CONDUCT\.md| + CONTRIBUTING\.md| + C_CODING_STYLE\.rdoc| + Gemfile.*| + Manifest\.txt| + ROADMAP\.md| + Rakefile| + SECURITY\.md| + STANDARD_RESPONSES\.md| + Vagrantfile| + Y_U_NO_GEMSPEC\.md| + [0-9]+-.*| + [a-z\.]+\.(log|out) + )$ ) -|\.gitkeep +| +(.*\/nokogiri\.(so|bundle))$ /x' From 17c84fcaf6e0427e46652efd6b76f6973b0d40ed Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Wed, 2 Dec 2020 17:53:09 -0500 Subject: [PATCH 4/5] fix: native gems are built with `ExtensionTask.no_native=true` Specifically, following the advice of @kou at https://github.com/rake-compiler/rake-compiler/pull/171 we set `Rake::ExtensionTask.no_native=true` within the rake-compiler-dock container ("guest") so that: - the ExtensionTask `cross_compiling` block is called - so that we don't package the dependencies' tarballs in /ports - so that we don't have mini_portile2 as a dependency (#2078) - so that we don't have an extra nokogiri.so/nokogiri.bundle built and packaged (#2076) - we no longer have to hotfix rake-compiler at build time This also will enable us to more easily do things like removing the C extension source code from the native gem package (#2077). --- concourse/tasks/gem-test/gem-build.sh | 8 +------- rakelib/cross-ruby.rake | 6 ++---- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/concourse/tasks/gem-test/gem-build.sh b/concourse/tasks/gem-test/gem-build.sh index 0a86c3b388..44d33c9311 100755 --- a/concourse/tasks/gem-test/gem-build.sh +++ b/concourse/tasks/gem-test/gem-build.sh @@ -25,13 +25,7 @@ bundle install --local || bundle install bundle exec rake set-version-to-timestamp if [ -n "${BUILD_NATIVE_GEM:-}" ] ; then - # TODO remove after https://github.com/rake-compiler/rake-compiler/pull/171 is shipped - find /usr/local/rvm/gems -name extensiontask.rb | while read f ; do - echo "rewriting $f" - sudo sed -i 's/callback.call(spec) if callback/@cross_compiling.call(spec) if @cross_compiling/' $f - done - - bundle exec rake gem:x86_64-linux:guest + bundle exec rake gem:x86_64-linux:guest FORCE_CROSS_COMPILING=true else # TODO we're only compiling so that we retrieve libxml2/libxslt # tarballs, we can do better a couple of different ways diff --git a/rakelib/cross-ruby.rake b/rakelib/cross-ruby.rake index a40c482783..adecd5da9c 100644 --- a/rakelib/cross-ruby.rake +++ b/rakelib/cross-ruby.rake @@ -240,12 +240,10 @@ namespace "gem" do CROSS_RUBIES.find_all { |cr| cr.windows? || cr.linux? }.map(&:platform).uniq.each do |plat| desc "build native gem for #{plat} platform (host)" task plat do - # TODO remove `find` after https://github.com/rake-compiler/rake-compiler/pull/171 is shipped RakeCompilerDock.sh <<~EOT, platform: plat gem install bundler --no-document && bundle && - find /usr/local/rvm/gems -name extensiontask.rb | while read f ; do sudo sed -i 's/callback.call(spec) if callback/@cross_compiling.call(spec) if @cross_compiling/' $f ; done && - rake gem:#{plat}:guest MAKE='nice make -j`nproc`' + rake gem:#{plat}:guest MAKE='nice make -j`nproc`' FORCE_CROSS_COMPILING=true EOT end @@ -267,7 +265,6 @@ namespace "gem" do CROSS_RUBIES.find_all { |cr| cr.darwin? }.map(&:platform).uniq.each do |plat| desc "build native gem for #{plat} platform" task plat do - sh "find ~/.gem -name extensiontask.rb | while read f ; do sed -i '' 's/callback.call(spec) if callback/@cross_compiling.call(spec) if @cross_compiling/' \$f ; done" Rake::Task["native:#{plat}"].invoke Rake::Task["pkg/#{HOE.spec.full_name}-#{Gem::Platform.new(plat).to_s}.gem"].invoke end @@ -328,6 +325,7 @@ else Rake::ExtensionTask.new("nokogiri", HOE.spec) do |ext| ext.lib_dir = File.join(*['lib', 'nokogiri', ENV['FAT_DIR']].compact) ext.config_options << ENV['EXTOPTS'] + ext.no_native = (ENV["FORCE_CROSS_COMPILING"] == "true") ext.cross_compile = true ext.cross_platform = CROSS_RUBIES.map(&:platform).uniq ext.cross_config_options << "--enable-cross-build" From 440dc4e1d825c4d828f70c925c15658f1582e828 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Thu, 3 Dec 2020 00:09:46 -0500 Subject: [PATCH 5/5] refactor: darwin native rake tasks follow convention That is, darwin tasks now mirror the linux and windows tasks even though there's no guest container (only a child process). This way we avoid having darwin-specific handling from the POV of the person invoking rake. The native platform tasks previously named "guest" are now named "builder" because that's a more descriptive and more accurate name, especially since (on darwin) there's no actual guest. --- concourse/tasks/gem-test/gem-build.sh | 2 +- rakelib/cross-ruby.rake | 40 +++++++++++++++++---------- 2 files changed, 27 insertions(+), 15 deletions(-) diff --git a/concourse/tasks/gem-test/gem-build.sh b/concourse/tasks/gem-test/gem-build.sh index 44d33c9311..12d243ee2d 100755 --- a/concourse/tasks/gem-test/gem-build.sh +++ b/concourse/tasks/gem-test/gem-build.sh @@ -25,7 +25,7 @@ bundle install --local || bundle install bundle exec rake set-version-to-timestamp if [ -n "${BUILD_NATIVE_GEM:-}" ] ; then - bundle exec rake gem:x86_64-linux:guest FORCE_CROSS_COMPILING=true + bundle exec rake gem:x86_64-linux:builder FORCE_CROSS_COMPILING=true else # TODO we're only compiling so that we retrieve libxml2/libxslt # tarballs, we can do better a couple of different ways diff --git a/rakelib/cross-ruby.rake b/rakelib/cross-ruby.rake index adecd5da9c..9b91898f67 100644 --- a/rakelib/cross-ruby.rake +++ b/rakelib/cross-ruby.rake @@ -237,37 +237,49 @@ CROSS_RUBIES.each do |cross_ruby| end namespace "gem" do + def gem_builder(plat) + # use Task#invoke because the pkg/*gem task is defined at runtime + Rake::Task["native:#{plat}"].invoke + Rake::Task["pkg/#{HOE.spec.full_name}-#{Gem::Platform.new(plat).to_s}.gem"].invoke + end + CROSS_RUBIES.find_all { |cr| cr.windows? || cr.linux? }.map(&:platform).uniq.each do |plat| - desc "build native gem for #{plat} platform (host)" + desc "build native gem for #{plat} platform" task plat do RakeCompilerDock.sh <<~EOT, platform: plat gem install bundler --no-document && bundle && - rake gem:#{plat}:guest MAKE='nice make -j`nproc`' FORCE_CROSS_COMPILING=true + rake gem:#{plat}:builder MAKE='nice make -j`nproc`' FORCE_CROSS_COMPILING=true EOT end namespace plat do - desc "build native gem for #{plat} platform (guest)" - task "guest" do - # use Task#invoke because the pkg/*gem task is defined at runtime - Rake::Task["native:#{plat}"].invoke - Rake::Task["pkg/#{HOE.spec.full_name}-#{Gem::Platform.new(plat).to_s}.gem"].invoke + desc "build native gem for #{plat} platform (guest container)" + task "builder" do + gem_builder(plat) end + task "guest" => "builder" # TODO: remove me after this code is on master, temporary backwards compat for CI end end - desc "build a jruby gem" - task "jruby" do - RakeCompilerDock.sh "gem install bundler --no-document && bundle && rake java gem", rubyvm: "jruby" - end - CROSS_RUBIES.find_all { |cr| cr.darwin? }.map(&:platform).uniq.each do |plat| desc "build native gem for #{plat} platform" task plat do - Rake::Task["native:#{plat}"].invoke - Rake::Task["pkg/#{HOE.spec.full_name}-#{Gem::Platform.new(plat).to_s}.gem"].invoke + sh "rake gem:#{plat}:builder MAKE='nice make -j`nproc`' FORCE_CROSS_COMPILING=true" end + + namespace plat do + desc "build native gem for #{plat} platform (child process)" + task "builder" do + gem_builder(plat) + end + task "guest" => "builder" # TODO: remove me after this code is on master, temporary backwards compat for CI + end + end + + desc "build a jruby gem" + task "jruby" do + RakeCompilerDock.sh "gem install bundler --no-document && bundle && rake java gem", rubyvm: "jruby" end desc "build native gems for windows"