#13 closed defect (fixed)
Doc files are missing from the tarball
| Reported by: | Alpar Juttner | Owned by: | Akos Ladanyi |
|---|---|---|---|
| Priority: | major | Milestone: | LEMON 1.0 release |
| Component: | build system | Version: | hg main |
| Keywords: | Cc: | ||
| Revision id: |
Description
The following command sequence doesn't put the doc files into the tarball.
autoreconf -vi ./configure make make dist
This bug exists in [9bd0d6e0c279].
Change History (11)
comment:1 Changed 18 years ago by
| Status: | new → assigned |
|---|
comment:2 follow-up: 3 Changed 18 years ago by
comment:3 Changed 18 years ago by
Replying to ladanyi:
Unfortunately it isn't fully correct. At least when I try to build into an external directory, it says, that
alpar@piko:~/tmp/akos/objs>make install-html
/bin/sh /home/alpar/tmp/akos/build-aux/install-sh -d /home/alpar/tmp/local/share/doc/lemon/docs
for p in ../doc/html/*.{html,css,png,map,gif,tag} ; do \
f="`echo $p | sed -e 's|^.*/||'`"; \
echo " /usr/bin/install -c -m 644 $p /home/alpar/tmp/local/share/doc/lemon/docs/$f"; \
/usr/bin/install -c -m 644 $p /home/alpar/tmp/local/share/doc/lemon/docs/$f; \
done
/usr/bin/install -c -m 644 ../doc/html/*.html /home/alpar/tmp/local/share/doc/lemon/docs/*.html
/usr/bin/install: cannot stat `../doc/html/*.html': No such file or directory
/usr/bin/install -c -m 644 ../doc/html/*.css /home/alpar/tmp/local/share/doc/lemon/docs/*.css
/usr/bin/install: cannot stat `../doc/html/*.css': No such file or directory
/usr/bin/install -c -m 644 ../doc/html/*.png /home/alpar/tmp/local/share/doc/lemon/docs/*.png
/usr/bin/install: cannot stat `../doc/html/*.png': No such file or directory
/usr/bin/install -c -m 644 ../doc/html/*.map /home/alpar/tmp/local/share/doc/lemon/docs/*.map
/usr/bin/install: cannot stat `../doc/html/*.map': No such file or directory
/usr/bin/install -c -m 644 ../doc/html/*.gif /home/alpar/tmp/local/share/doc/lemon/docs/*.gif
/usr/bin/install: cannot stat `../doc/html/*.gif': No such file or directory
/usr/bin/install -c -m 644 ../doc/html/*.tag /home/alpar/tmp/local/share/doc/lemon/docs/*.tag
/usr/bin/install: cannot stat `../doc/html/*.tag': No such file or directory
make: *** [install-html-local] Error 1
comment:4 follow-ups: 5 6 Changed 18 years ago by
http://lime.cs.elte.hu/~akos/hgwebdir.cgi/lemon/rev/b47ab7319a88
This fixes VPATH builds.
Should I merge the two changesets?
comment:5 Changed 18 years ago by
comment:6 follow-up: 7 Changed 18 years ago by
Replying to ladanyi:
http://lime.cs.elte.hu/~akos/hgwebdir.cgi/lemon/rev/b47ab7319a88
I still have a problem. If I try to execute
'make install-html'
immediately after the 'configure' (i.e. without executing 'make html' before), it still fails.
On the other hand, in case of internal build, 'make install-html' rightly generates the doc if it doesn't exist.
comment:7 follow-up: 8 Changed 18 years ago by
The merged changeset: http://lime.cs.elte.hu/~akos/hgwebdir.cgi/lemon/rev/6ec5dbed8f18
Replying to alpar:
I still have a problem. If I try to execute '
make install-html' immediately after the 'configure' (i.e. without executing 'make html' before), it still fails.
Strange, it works for me. I'm doing the following in a clean source tree:
autoreconf -vi mkdir build cd build ../configure --prefix=/home/akos/lemon-test make install-html
comment:8 Changed 18 years ago by
Replying to ladanyi:
Probably it was my mistake. I checked it again and it works for me, as well. Sorry for misleading you.
comment:9 Changed 18 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:11 Changed 17 years ago by
| Component: | core → build system |
|---|


http://lime.cs.elte.hu/~akos/hgwebdir.cgi/lemon/rev/99779ee5128a
These changes hopefully fix this bug.