If I apply this patch, when I run `make distcheck', asciidoc tries to
write into the read-only automake unpacked dist tree here.
"/usr/bin/asciidoc" --backend docbook -a "a2x-format=manpage" --doctype manpage
--out-file
"/home/git/nftables/nftables-0.9.0/doc/nft.xml"
"/home/git/nftables/nftables-0.9.0/doc/nft.txt"
asciidoc: FAILED: nft.txt: line 2: unexpected error:
asciidoc: ------------------------------------------------------------
Traceback (most recent call last):
File "/usr/bin/asciidoc", line 6021, in asciidoc
writer.open(outfile, reader.bom)
File "/usr/bin/asciidoc", line 4432, in open
self.f = open(fname,'wb+')
IOError: [Errno 13] Permission denied:
'/home/git/nftables/nftables-0.9.0/doc/nft.xml
/home/git/nftables/nftables-0.9.0# ls -la
total 652
dr-xr-xr-x 12 git git 4096 ago 13 14:02 .
drwxr-xr-x 15 git git 4096 ago 13 14:01 ..
-r--r--r-- 1 git git 56124 ago 13 13:57 aclocal.m4
drwxr-xr-x 3 git git 4096 ago 13 14:02 _build
dr-xr-xr-x 2 git git 4096 ago 13 14:01 build-aux
-r--r--r-- 1 git git 2025 ago 13 13:57 config.h.in
-r-xr-xr-x 1 git git 472525 ago 13 13:57 configure
-r--r--r-- 1 git git 5251 ago 13 13:32 configure.ac
-r--r--r-- 1 git git 18260 jun 22 2016 COPYING
dr-xr-xr-x 2 git git 4096 ago 13 14:01 doc
dr-xr-xr-x 4 git git 4096 ago 13 13:57 files
dr-xr-xr-x 4 git git 4096 ago 13 14:01 include
drwxr-xr-x 2 git git 4096 ago 13 14:02 _inst
-r--r--r-- 1 git git 1708 jun 6 18:46 INSTALL
-r--r--r-- 1 git git 316 jun 6 18:46 libnftables.pc.in
dr-xr-xr-x 2 git git 4096 ago 13 14:01 m4
-r--r--r-- 1 git git 176 jun 20 13:51 Makefile.am
-r--r--r-- 1 git git 28775 ago 13 13:57 Makefile.in
-r--r--r-- 1 git git 1007 jun 18 11:29 Make_global.am
dr-xr-xr-x 2 git git 4096 ago 13 14:01 py
dr-xr-xr-x 2 git git 4096 ago 13 14:01 src
dr-xr-xr-x 6 git git 4096 jun 6 18:46 tests
instead of placing these autogenerated files
nftables-0.9.0/_build/sub/doc/ where all autogenerated build files are
located.
Is this also going on there?
Thanks.