@@ -251,7 +251,7 @@ function generate_sources_file() // {{{
251251 echo 'Iterating over files for sources info... ' ;
252252 $ en_dir = "{$ ac ['rootdir ' ]}/ {$ ac ['EN_DIR ' ]}" ;
253253 $ source_langs = array (
254- array ('base ' , $ ac ['srcdir ' ], array ('manual.xml.in ' , 'funcindex.xml ' )),
254+ array ('base ' , $ ac ['srcdir ' ], array ('manual.xml ' , 'funcindex.xml ' )),
255255 array ('en ' , $ en_dir , find_xml_files ($ en_dir )),
256256 );
257257 if ($ ac ['LANG ' ] !== 'en ' ) {
@@ -630,12 +630,6 @@ function getFileModificationHistory(): array {
630630}
631631
632632
633- // We shouldn't be globbing for this. autoconf requires you to tell it which files to use, we should do the same
634- // Notice how doing it this way results in generating less than half as many files.
635- $ infiles = array (
636- 'manual.xml.in ' ,
637- );
638-
639633// Show local repository status to facilitate debug
640634
641635$ repos = array ();
@@ -659,18 +653,6 @@ function getFileModificationHistory(): array {
659653 $ output = str_replace ( "\n\n" , "\n" , $ output );
660654echo "\n" , trim ( $ output ) . "\n\n" ;
661655
662- foreach ($ infiles as $ in ) {
663- $ in = chop ("{$ ac ['basedir ' ]}/ {$ in }" );
664-
665- $ out = substr ($ in , 0 , -3 );
666- echo "Generating {$ out }... " ;
667- if (generate_output_file ($ in , $ out , $ ac )) {
668- echo "done \n" ;
669- } else {
670- echo "fail \n" ;
671- errors_are_bad (117 );
672- }
673- }
674656
675657if ($ ac ['SEGFAULT_ERROR ' ] === 'yes ' ) {
676658 libxml_use_internal_errors (true );
0 commit comments