|
@ -23,20 +23,19 @@ |
|
|
|
|
|
|
|
|
tex4ht_main(){ |
|
|
tex4ht_main(){ |
|
|
unzip $archdir/tex4ht-$ver.zip |
|
|
unzip $archdir/tex4ht-$ver.zip |
|
|
|
|
|
unzip tex4ht.zip |
|
|
|
|
|
|
|
|
echo "Compiling and installing binaries ..." |
|
|
echo "Compiling and installing binaries ..." |
|
|
gcc -o t4ht temp/t4ht.c \ |
|
|
|
|
|
|
|
|
gcc -o t4ht src/t4ht.c \ |
|
|
-DENVFILE=\"/$prefix/share/texmf/tex4ht/tex4ht.env\" |
|
|
-DENVFILE=\"/$prefix/share/texmf/tex4ht/tex4ht.env\" |
|
|
gcc -o tex4ht temp/tex4ht.c \ |
|
|
|
|
|
|
|
|
gcc -o tex4ht src/tex4ht.c \ |
|
|
-DENVFILE=\"/usr/share/texmf/tex4ht/tex4ht.env\" -DHAVE_DIRENT_H |
|
|
-DENVFILE=\"/usr/share/texmf/tex4ht/tex4ht.env\" -DHAVE_DIRENT_H |
|
|
cp -fv t4ht tex4ht $bindir/ |
|
|
cp -fv t4ht tex4ht $bindir/ |
|
|
|
|
|
|
|
|
echo "Installing support scripts ..." |
|
|
echo "Installing support scripts ..." |
|
|
cp -fv bin/unix/* $bindir/ |
|
|
cp -fv bin/unix/* $bindir/ |
|
|
|
|
|
|
|
|
# correct double-path and unwanted files before cp ... |
|
|
|
|
|
mv -v texmf/tex4ht/ht-fonts/ht-fonts/* texmf/tex4ht/ht-fonts/ |
|
|
|
|
|
rmdir texmf/tex4ht/ht-fonts/ht-fonts |
|
|
|
|
|
|
|
|
# correct unwanted files before cp ... |
|
|
rm -rf texmf/tex4ht/base |
|
|
rm -rf texmf/tex4ht/base |
|
|
|
|
|
|
|
|
cp -rv texmf/* $root/$prefix/share/texmf/ |
|
|
cp -rv texmf/* $root/$prefix/share/texmf/ |
|
|