aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-doc/gromacs-manual/gromacs-manual-9999.ebuild')
-rw-r--r--app-doc/gromacs-manual/gromacs-manual-9999.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/app-doc/gromacs-manual/gromacs-manual-9999.ebuild b/app-doc/gromacs-manual/gromacs-manual-9999.ebuild
index 9b46e7299..edc27c7ea 100644
--- a/app-doc/gromacs-manual/gromacs-manual-9999.ebuild
+++ b/app-doc/gromacs-manual/gromacs-manual-9999.ebuild
@@ -27,20 +27,20 @@ RDEPEND=""
src_compile() {
local progs
- ./mkmdp /usr/share/doc/gromacs-${PV}/html || die "mkmdp failed"
- progs=$(sed -e '/luck/d' /usr/share/gromacs/programs.list | tr '\n' ' ') || \
+ einfo "Building mdp option file"
+ ./mkmdp /usr/share/doc/gromacs-${PV}/html || die
+ progs=$(sed -e '/g_luck/d' /usr/share/gromacs/programs.list | tr '\n' ' ') || \
die "sed of programs.list failed"
- echo "Building manpages for ${progs}"
- sed -e "s@^set PROGRAMS.*@set PROGRAMS = '${progs}'@" mkman > mkman.gentoo || \
- die "sed of mkman failed"
- cmp -s mkman mkman.gentoo && die "sed of mkman.gentoo failed"
- chmod 755 ./mkman.gentoo || die "chmod of mkman.gentoo failed"
- ./mkman.gentoo /usr/bin || die "mkman failed"
- cp /usr/share/gromacs/programs.txt . || die "cp of programs.txt failed"
- ./mk_proglist || die "mk_proglist failed"
- g_options -man tex || die "g_options failed"
- mv g_options.tex options.tex || die "mv of options.tex failed"
- make pdf
+ einfo "Building manpages for ${progs}"
+ sed -i "s@^\(set PROGRAMS\).*@\1 = '${progs}'@" mkman || die
+ ./mkman /usr/bin || die
+ cp /usr/share/gromacs/programs.txt . || die
+ einfo "Building program list"
+ ./mk_proglist || die
+ einfo "Building common option file"
+ emake g_options.tex || die
+ einfo "Building pdf manual"
+ emake pdf || die
}
src_install() {