Skip to content

Commit bb0a5a1

Browse files
LRNmchehab
authored andcommitted
Correctly generate version.xml and reldate.xml
The buildsystem expects these files to be in srcdir, so put them there. Otherwise documentation won't build (xmlto complains that it can't find the files. Note that it uses an absolute path, so there's no way to solve this with its --searchpath argument). Signed-off-by: Руслан Ижбулатов <[email protected]>
1 parent d61b255 commit bb0a5a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,14 +667,14 @@ AC_CONFIG_COMMANDS([doc/version.xml],
667667
[AS_IF([test -f doc/version.xml && \
668668
! echo $VERSION | diff doc/version.xml - >/dev/null 2>&1 || \
669669
! echo $VERSION | diff $srcdir/doc/version.xml - >/dev/null 2>&1 ],
670-
[echo "writing new doc/version.xml" ; echo $VERSION > doc/version.xml ])],
670+
[echo "writing new doc/version.xml" ; echo $VERSION > $srcdir/doc/version.xml ])],
671671
[VERSION="$VERSION"]
672672
)
673673
AC_CONFIG_COMMANDS([doc/reldate.xml],
674674
[AS_IF([test -f doc/reldate.xml && \
675675
! echo $RELDATE | diff doc/reldate.xml - >/dev/null 2>&1 || \
676676
! echo $RELDATE | diff $srcdir/doc/reldate.xml - >/dev/null 2>&1 ],
677-
[echo "writing new doc/reldate.xml" ; echo $RELDATE > doc/reldate.xml ])],
677+
[echo "writing new doc/reldate.xml" ; echo $RELDATE > $srcdir/doc/reldate.xml ])],
678678
[RELDATE="$RELDATE"]
679679
)
680680

0 commit comments

Comments
 (0)