[subversion-commit] SVN tetex-bin commit + diffs: r1121 - tetex-bin/trunk/debian

Julian Gilbey jdg at costa.debian.org
Tue Mar 28 12:29:14 UTC 2006


Author: jdg
Date: 2006-03-28 12:29:14 +0000 (Tue, 28 Mar 2006)
New Revision: 1121

Modified:
   tetex-bin/trunk/debian/rules
   tetex-bin/trunk/debian/tetex-bin_install.in
Log:
Replace ln -s by ln -sf in debian files so that debian/rules binary can run twice

Modified: tetex-bin/trunk/debian/rules
===================================================================
--- tetex-bin/trunk/debian/rules	2006-03-28 12:25:11 UTC (rev 1120)
+++ tetex-bin/trunk/debian/rules	2006-03-28 12:29:14 UTC (rev 1121)
@@ -262,7 +262,7 @@
 # libkpathsea4 and most of the dev-package is installed by dh_movefiles
 # libkpathsea-dev installer
 	mkdir -p debian/$(subdev)/usr/share/doc
-	(cd debian/$(subdev)/usr/share/doc; ln -s $(sublib) $(subdev))
+	(cd debian/$(subdev)/usr/share/doc; ln -sf $(sublib) $(subdev))
 
 
 # Build architecture-independent files here.

Modified: tetex-bin/trunk/debian/tetex-bin_install.in
===================================================================
--- tetex-bin/trunk/debian/tetex-bin_install.in	2006-03-28 12:25:11 UTC (rev 1120)
+++ tetex-bin/trunk/debian/tetex-bin_install.in	2006-03-28 12:29:14 UTC (rev 1121)
@@ -41,11 +41,11 @@
     ;;
   --manpage-links)
     if [ $ACTION = install ]; then
-      ln -s tangle.1 $sharedir/man/man1/otangle.1
+      ln -sf tangle.1 $sharedir/man/man1/otangle.1
       # no manpage for aleph
-      #ln -s aleph.1 $sharedir/man/man1/lamed.1
-      ln -s xdvi.1 $sharedir/man/man1/xdvi.bin.1
-      ln -s xdvi.1 $sharedir/man/man1/xdvi.real.1
+      #ln -sf aleph.1 $sharedir/man/man1/lamed.1
+      ln -sf xdvi.1 $sharedir/man/man1/xdvi.bin.1
+      ln -sf xdvi.1 $sharedir/man/man1/xdvi.real.1
     else
       rm $sharedir/man/man1/otangle.1
       #rm $sharedir/man/man1/lamed.1
@@ -55,16 +55,16 @@
     ;;
   --format-links)
     if [ $ACTION = install ]; then
-      ln -s mf.base $txmfvardir/web2c/mfw.base
+      ln -sf mf.base $txmfvardir/web2c/mfw.base
       mv debian/$package/usr/bin/mf debian/$package/usr/bin/mfw
-      ln -s mfw debian/$package/usr/bin/mf
-      ln -s $main_engine debian/$package/usr/bin/amstex
-      ln -s $main_engine debian/$package/usr/bin/latex
-      ln -s omega debian/$package/usr/bin/lambda
-      ln -s aleph debian/$package/usr/bin/lamed
-      ln -s $main_engine debian/$package/usr/bin/pdflatex
-      ln -s $main_engine debian/$package/usr/bin/etex
-      ln -s $main_engine debian/$package/usr/bin/pdftex
+      ln -sf mfw debian/$package/usr/bin/mf
+      ln -sf $main_engine debian/$package/usr/bin/amstex
+      ln -sf $main_engine debian/$package/usr/bin/latex
+      ln -sf omega debian/$package/usr/bin/lambda
+      ln -sf aleph debian/$package/usr/bin/lamed
+      ln -sf $main_engine debian/$package/usr/bin/pdflatex
+      ln -sf $main_engine debian/$package/usr/bin/etex
+      ln -sf $main_engine debian/$package/usr/bin/pdftex
     else
       rm $txmfdir/web2c/mfw.base
       rm debian/$package/usr/bin/amstex
@@ -121,7 +121,7 @@
       cp -f debian/xdvi-pl debian/$package/usr/bin/xdvi
       mv debian/$package/usr/bin/xdvi$xdvi_ext debian/$package/usr/bin/xdvi.real
       mv $txmfdir/xdvi/xdvi.cfg $debetc
-      ln -s $etcdir/xdvi.cfg $txmfdir/xdvi/
+      ln -sf $etcdir/xdvi.cfg $txmfdir/xdvi/
     else
       rm debian/$package/usr/bin/xdvi/xdvi-pl
       mv debian/$package/usr/bin/xdvi.real debian/$package/usr/bin/xdvi$xdvi_ext
@@ -131,7 +131,7 @@
     ;;
   --misc)
     if [ $ACTION = install ]; then
-      ln -s ../bin/texconfig debian/$package/usr/sbin/
+      ln -sf ../bin/texconfig debian/$package/usr/sbin/
       # outdated file, should be in an Emacs package
       # cp texk/web2c/cwebdir/cweb.el $sharedir/emacs/site-lisp/
 
@@ -144,10 +144,10 @@
     ;;
   --omfonts)
     if [ $ACTION = install ]; then
-      ln -s omfonts debian/$package/usr/bin/ofm2opl
-      ln -s omfonts debian/$package/usr/bin/opl2ofm
-      ln -s omfonts debian/$package/usr/bin/ovf2ovp
-      ln -s omfonts debian/$package/usr/bin/ovp2ovf
+      ln -sf omfonts debian/$package/usr/bin/ofm2opl
+      ln -sf omfonts debian/$package/usr/bin/opl2ofm
+      ln -sf omfonts debian/$package/usr/bin/ovf2ovp
+      ln -sf omfonts debian/$package/usr/bin/ovp2ovf
     else
       rm debian/$package/usr/bin/ofm2opl
       rm debian/$package/usr/bin/opl2ofm




More information about the Pkg-tetex-commits mailing list