academic/latex2html: Added manual doc.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d2b3906c79
commit
b3ae3a1fd9
|
@ -1,7 +1,7 @@
|
||||||
LaTeX is a high-quality typesetting system; it includes features
|
LaTeX is a high-quality typesetting system; it includes features
|
||||||
designed for the production of technical and scientific
|
designed for the production of technical and scientific
|
||||||
documentation. Latex2html is used for converting Latex files which
|
documentation. Latex2html is used for converting Latex files which
|
||||||
nave a .tex suffix to html.
|
have a .tex suffix to html
|
||||||
|
|
||||||
a basic latex document looks like this:
|
a basic latex document looks like this:
|
||||||
|
|
||||||
|
@ -16,3 +16,10 @@ and cd to where helloworld.tex is.
|
||||||
|
|
||||||
Then its a simple as
|
Then its a simple as
|
||||||
$latex2html helloworld.tex
|
$latex2html helloworld.tex
|
||||||
|
|
||||||
|
for option flags type: $latex2html --help
|
||||||
|
|
||||||
|
for extensive documentation see manual.pdf
|
||||||
|
|
||||||
|
when package is installed a copy of manual.pdf
|
||||||
|
will be put in /usr/doc/latex2html-2019.2
|
||||||
|
|
|
@ -70,7 +70,6 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -85,8 +84,6 @@ CXXFLAGS="$SLKCFLAGS" \
|
||||||
--build=$ARCH-slackware-linux \
|
--build=$ARCH-slackware-linux \
|
||||||
--host=$ARCH-slackware-linux
|
--host=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
@ -98,6 +95,7 @@ cp -a \
|
||||||
FAQ INSTALL LICENSE MANIFEST README.md TODO \
|
FAQ INSTALL LICENSE MANIFEST README.md TODO \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
cp $CWD/manual.pdf $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue