]> granicus.if.org Git - re2c/commit
Makefile.am (rebuilding docs): create target directory before writing into it.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 1 Aug 2017 10:09:03 +0000 (11:09 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 1 Aug 2017 10:09:03 +0000 (11:09 +0100)
commit00a0b8b073a940cd587465488c7d4776dd1cc821
tree23287900f70678d1a2346edf1b333b05744b535a
parent5f7169690ae7e89f4fe0b106fbce324be0202f4d
Makefile.am (rebuilding docs): create target directory before writing into it.

To reproduce build falure (before the fix):

    $ mkdir <builddir>
    $ cd <builddir>
    $ ../condigure --disable-dependency-tracking --enable-docs
    $ make src/conf/help.cc V=1
    rst2man.py ./doc/help.rst > src/conf/help.cc.1
    /bin/sh: src/conf/help.cc.1: No such file or directory
    Makefile:1976: recipe for target 'src/conf/help.cc' failed
    make: *** [src/conf/help.cc] Error 1
re2c/Makefile.am