@@ -251,7 +251,7 @@ function generate_sources_file() // {{{
251
251
echo 'Iterating over files for sources info... ' ;
252
252
$ en_dir = "{$ ac ['rootdir ' ]}/ {$ ac ['EN_DIR ' ]}" ;
253
253
$ source_langs = array (
254
- array ('base ' , $ ac ['srcdir ' ], array ('manual.xml.in ' , 'funcindex.xml ' )),
254
+ array ('base ' , $ ac ['srcdir ' ], array ('manual.xml ' , 'funcindex.xml ' )),
255
255
array ('en ' , $ en_dir , find_xml_files ($ en_dir )),
256
256
);
257
257
if ($ ac ['LANG ' ] !== 'en ' ) {
@@ -630,12 +630,6 @@ function getFileModificationHistory(): array {
630
630
}
631
631
632
632
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
-
639
633
// Show local repository status to facilitate debug
640
634
641
635
$ repos = array ();
@@ -659,18 +653,6 @@ function getFileModificationHistory(): array {
659
653
$ output = str_replace ( "\n\n" , "\n" , $ output );
660
654
echo "\n" , trim ( $ output ) . "\n\n" ;
661
655
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
- }
674
656
675
657
if ($ ac ['SEGFAULT_ERROR ' ] === 'yes ' ) {
676
658
libxml_use_internal_errors (true );
0 commit comments