diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2014-03-07 20:38:30 -0800 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-03-08 09:46:09 +0100 |
commit | 9ad80536986f0a80b426e0091388ef97f0329160 (patch) | |
tree | cc19d0dc01c7bd545856f1b3ec99cb9c510f3123 /.gitignore | |
parent | bea0b1bbe0d2877b7bf203920d9e0e1c7e59e6ab (diff) | |
download | gnutls-9ad80536986f0a80b426e0091388ef97f0329160.tar.gz |
Fix build failures involving doc/invoke-*.texi
Several problems were found in this area:
1) Currently, if SRC_DEF_* are undefined, autogen will get invoked with
no input file and it will hang forever waiting for content from stdin:
mv -f enums.texi-tmp enums.texi
mkdir enums
../../doc/scripts/split-texi.pl enums enum < enums.texi
echo stamp_enums > stamp_enums
cd ../src/ && autogen -Tagtexi-cmd.tpl && \
rm -f ../doc/invoke-gnutls-cli.texi && \
../doc/scripts/cleanup-autogen.pl <../src/invoke-gnutls-cli.texi >../doc/invoke-gnutls-cli.texi.tmp && \
mv -f ../doc/invoke-gnutls-cli.texi.tmp ../doc/invoke-gnutls-cli.texi && \
rm -f ../src/invoke-gnutls-cli.texi
<HANG>
Since these documents are @include'd by other documents, it is probably
a good idea to make sure the targets are buildable in case they get
listed as prerequisites.
2) SRC_DEF_* used relative paths which are correct for an in-place build,
but incorrect for an out-of-tree build. They should use something like
$(top_srcdir)/src to resolve the ambiguity.
3) cleanup-autogen.pl was also referenced using a relative pathname,
breaking out-of-tree builds.
4) The non-portable "sed -i" flag was used.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore index 6b50937bb2..6b2615a5e9 100644 --- a/.gitignore +++ b/.gitignore @@ -689,16 +689,8 @@ src/gl/warn-on-use.h doc/stamp_invoke src/gl/libgnu_gpl.a src/gl/libgnu_gpl.la -doc/invoke-certtool.texi -doc/invoke-danetool.texi -doc/invoke-gnutls-cli-debug.texi -doc/invoke-gnutls-cli.texi -doc/invoke-gnutls-serv.texi -doc/invoke-ocsptool.texi -doc/invoke-p11tool.texi -doc/invoke-psktool.texi -doc/invoke-srptool.texi -doc/invoke-tpmtool.texi +doc/invoke-*.texi +doc/invoke-*.menu doc/parse-datetime.texi tests/fips-test tests/global-init |