COIN-OR::LEMON - Graph Library

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 11 years ago by Akos Ladanyi

Status: newassigned

comment:2 Changed 11 years ago by Akos Ladanyi

comment:3 in reply to:  2 Changed 11 years ago by anonymous

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 Changed 11 years ago by Akos Ladanyi

http://lime.cs.elte.hu/~akos/hgwebdir.cgi/lemon/rev/b47ab7319a88

This fixes VPATH builds.

Should I merge the two changesets?

comment:5 in reply to:  4 Changed 11 years ago by Alpar Juttner

Replying to ladanyi:

Should I merge the two changesets?

Yes, please.

comment:6 in reply to:  4 ; Changed 11 years ago by Alpar Juttner

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 in reply to:  6 ; Changed 11 years ago by Akos Ladanyi

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 in reply to:  7 Changed 11 years ago by Alpar Juttner

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 11 years ago by Alpar Juttner

Resolution: fixed
Status: assignedclosed

comment:10 Changed 11 years ago by Alpar Juttner

The bugfix is in the main repo now: [6ec5dbed8f18]

comment:11 Changed 11 years ago by Alpar Juttner

Component: corebuild system
Note: See TracTickets for help on using tickets.