whizard is hosted by Hepforge, IPPP Durham

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#141 closed task (fixed)

share/doc/Makefile.am and include make manual.pdf for distribution

Reported by: Juergen Reuter Owned by: kilian
Priority: P3 Milestone:
Component: configure Version: 2.0.0beta
Severity: normal Keywords:
Cc:

Description

The Makefile in share/doc should be automaketized, and manual.pdf should be build and installed for the install and the distribution where it has to be shipped with.

Change History (7)

comment:1 Changed 14 years ago by kilian

Resolution: fixed
Status: newclosed

Done in [1547]. The manual is built whenever (pdf)latex is available, and installed in the appropriate directories. It is distributed as source, not as ps/pdf, as the Automake manual recommends.

comment:2 Changed 14 years ago by Juergen Reuter

Resolution: fixed
Status: closedreopened

'make distcheck' fails as yet:

/bin/sh ../libtool --tag=FC   --mode=link gfortran  -g -O2   -o whizard  whizard-core/libwhizard_main.la ./libwhizard.la prebuilt/libwhizard_prebuilt.la -L/usr/local//lib -lLHAPDF -lHepMC 
libtool: link: gfortran -g -O2 -o .libs/whizard  whizard-core/.libs/libwhizard_main.dylib ./.libs/libwhizard.dylib -L/usr/local//lib -L/usr/local/lib/gcc/x86_64-apple-darwin10.0.0/4.5.0 -L/usr/local/lib/gcc/x86_64-apple-darwin10.0.0/4.5.0/../../.. prebuilt/.libs/libwhizard_prebuilt.dylib /usr/local//lib/libLHAPDF.dylib /usr/local/lib/libgfortran.dylib -lm /usr/local/lib/libHepMC.dylib
Making all in share
Making all in doc
make[3]: *** No rule to make target `manual.tex', needed by `manual.pdf'.  Stop.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [distcheck] Error 1

comment:3 Changed 14 years ago by kilian

Resolution: fixed
Status: reopenedclosed

Forgot to add manual.tex to the distribution. Done in [1553].

comment:4 Changed 14 years ago by Juergen Reuter

Resolution: fixed
Status: closedreopened

One question, WK: The manual is build if the user does a 'make' after a check-out. Is this intended? I mean, I thougt we agreed to only LaTeX the manal for 'make dist'. ???

comment:5 Changed 14 years ago by kilian

Priority: P1P3
Severity: blockernormal

@JR: I understood from the Automake info that one should distribute either the target or its sources. Looking again into it, the statement is weaker, and we can distribute the target as well. I'll change the Makefile accordingly.

The critical point here is, and the same applies to #140: 'make dist' should generate everything that we do want to distribute. This implies that whoever does 'make dist' (and 'make distcheck') must have all necessary tools installed. In the documentation part, this is pdflatex with all tools (conTeXT included -- which package actually needs this??), and HEVEA for the HTML doc (which I have disabled for the moment).

The user who doesn't have all those packages will not be able to 'make dist' successfully. Instead of catching all problems by conditionals, as we do now, shouldn't this be detected by configure and printed at the end?

I'd say that this is NOT a blocker for RC1.

comment:6 Changed 14 years ago by Juergen Reuter

Resolution: fixed
Status: reopenedclosed

OK, the 'make' is usually done for the installation, not by the user for the 'make dist'. I am fine with this. Closing this ticket.

WK, TO, if objecting, please feel free to reopen!!!

comment:7 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.0final

Milestone v2.0.0final deleted

Note: See TracTickets for help on using tickets.