[Pkg-tcltk-commits] r799 - tcl8.6/trunk/debian
sgolovan-guest at alioth.debian.org
sgolovan-guest at alioth.debian.org
Sat Dec 27 11:27:19 UTC 2008
Author: sgolovan-guest
Date: 2008-12-27 11:27:18 +0000 (Sat, 27 Dec 2008)
New Revision: 799
Modified:
tcl8.6/trunk/debian/rules
Log:
[tcl8.6]
Fixed tdbc manpages section converting.
Modified: tcl8.6/trunk/debian/rules
===================================================================
--- tcl8.6/trunk/debian/rules 2008-12-27 11:14:22 UTC (rev 798)
+++ tcl8.6/trunk/debian/rules 2008-12-27 11:27:18 UTC (rev 799)
@@ -52,8 +52,7 @@
--enable-dll-unloading \
--disable-rpath \
--mandir=/usr/share/man \
- --enable-man-symlinks \
- --enable-man-compression=gzip && \
+ --enable-man-symlinks && \
touch ../generic/tclStubInit.c && \
$(MAKE) CFLAGS="$(CFLAGS)"
# Build the static library.
@@ -120,17 +119,17 @@
mv debian/tmp/usr/share/man/mann/* debian/tmp/usr/share/man/man3
# Fix up the manpages.
cd debian/tmp/usr/share/man/man1 && \
- zcat tclsh.1.gz | sed -e 's/(n)/(3tcl)/g' | gzip -9 > tclsh$(v).1.gz && \
- rm tclsh.1.gz
+ cat tclsh.1 | sed -e 's/(n)/(3tcl)/g' | gzip -9 > tclsh$(v).1.gz && \
+ rm tclsh.1
cd debian/tmp/usr/share/man/man3 && \
- for f in *.[3n].gz ; do \
+ for f in *.[3n] ; do \
f2=$$(echo $$f | sed -e 's/\.[3n]/.3tcl/') ; \
if [ -L $$f ]; then \
- l=$$(readlink -n $$f |sed -e 's/\.[3n]/.3tcl/') ; \
+ l=$$(readlink -n $$f | sed -e 's/\.[3n]/.3tcl/') ; \
rm $$f ; \
- ln -sf $$l $$f2 ; \
+ ln -sf $$l.gz $$f2.gz ; \
else \
- zcat $$f | sed -e 's/^\.TH \([^ ]\+\|"[^"]\+"\) [3n]/.TH \1 3tcl/' \
+ cat $$f | sed -e 's/^\.TH \([^ ]\+\|"[^"]\+"\) [3n]/.TH \1 3tcl/' \
-e 's/\(Tk_[0-9A-Za-z]*\)(3)/\1(3tk)/g' \
-e 's/\([A-Z][0-9A-Za-z_]*\)(3)/\1(3tcl)/g' \
-e 's/send(n)/send(3tk)/g' \
@@ -139,7 +138,7 @@
-e 's/winfo(n)/winfo(3tk)/g' \
-e 's/(n)/(3tcl)/g' \
-e "s/\\N'244'/\\[^o]/g" \
- | gzip -9 >$$f2 ; \
+ | gzip -9 >$$f2.gz ; \
rm $$f ; \
fi ; \
done
More information about the Pkg-tcltk-commits
mailing list