| 31 | build.target all html |
| 32 | |
| 33 | destroot { |
| 34 | system "cd ${worksrcpath}; ${build.cmd} install prefix=${destroot}${prefix}" |
| 35 | |
| 36 | # Install HTML copies |
| 37 | # Duplicate figures are removed, using symlinks instead. |
| 38 | # If you update this, please check for additional localizations! |
| 39 | |
| 40 | file mkdir ${destpath}/${prefix}/share/doc/gnucash/C |
| 41 | file mkdir ${destpath}/${prefix}/share/doc/gnucash/de_DE |
| 42 | |
| 43 | file copy ${portpath}/${filesdir}/index.html ${destpath}/${prefix}/share/doc/gnucash |
| 44 | |
| 45 | file copy ${worksrcpath}/guide/C/gnucash-guide ${destpath}/${prefix}/share/doc/gnucash/C |
| 46 | file delete -force ${destpath}/${prefix}/share/doc/gnucash/C/gnucash-guide/figures |
| 47 | system "ln -sf ${prefix}/share/gnome/help/gnucash/C/figures ${destpath}/${prefix}/share/doc/gnucash/C/gnucash-guide/figures" |
| 48 | |
| 49 | file copy ${worksrcpath}/help/C/gnucash-help ${destpath}/${prefix}/share/doc/gnucash/C |
| 50 | file delete -force ${destpath}/${prefix}/share/doc/gnucash/C/gnucash-help/figures |
| 51 | system "ln -sf ${prefix}/share/gnome/help/gnucash/C/figures ${destpath}/${prefix}/share/doc/gnucash/C/gnucash-help/figures" |
| 52 | |
| 53 | file copy ${worksrcpath}/help/de_DE/gnucash-help ${destpath}/${prefix}/share/doc/gnucash/de_DE |
| 54 | file delete -force ${destpath}/${prefix}/share/doc/gnucash/de_DE/gnucash-help/figures |
| 55 | system "ln -sf ${prefix}/share/gnome/help/gnucash/de_DE/figures ${destpath}/${prefix}/share/doc/gnucash/de_DE/gnucash-help/figures" |
| 56 | } |