The following commit has been merged in the master branch:
commit 02f0bb37b2c26a43005695b5e7bcdc1fda970621
Author: Rene Engelhard <[email protected]>
Date:   Sun Feb 27 14:49:07 2011 +0100

    add oo* symlinks (closes: #614840)

diff --git a/changelog b/changelog
index 77ad449..e3c8976 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,9 @@
+openoffice.org (1:3.3.0-7) UNRELEASED; urgency=low
+
+  * add oo* symlinks (closes: #614840) 
+
+ -- Rene Engelhard <[email protected]>  Sat, 26 Feb 2011 16:41:47 +0100
+
 openoffice.org (1:3.3.0-6) unstable; urgency=low
 
   * debian/control.in:
diff --git a/rules b/rules
index c0d773a..73758c1 100755
--- a/rules
+++ b/rules
@@ -45,11 +45,37 @@ debian/control: $(wildcard debian/control.in) $(wildcard 
debian/mirror.1und1.de_
 
 build: control
 
-binary-indep: build
+install: build
+       dh_testdir
+       dh_testroot
+
+       if [ -x /usr/bin/dh_prep ]; then dh_prep; else dh_clean -k; fi
+
+       # add oo* compat links
+       for i in base calc draw impress math writer; do \
+               mkdir -p debian/openoffice.org-$$i/usr/bin && \
+               ln -s /usr/bin/lo$$i debian/openoffice.org-$$i/usr/bin/oo$$i; \
+       done
+       ln -s /usr/bin/loweb debian/openoffice.org-writer/usr/bin/ooweb
+       mkdir -p debian/openoffice.org-common/usr/bin
+       ln -s /usr/bin/lofromtemplate 
debian/openoffice.org-common/usr/bin/oofromtemplate
+       ln -s /usr/bin/libreoffice 
debian/openoffice.org-common/usr/bin/openoffice.org
+       # and the same for the manpages
+       for i in base calc draw impress math writer; do \
+               mkdir -p debian/openoffice.org-$$i/usr/share/man/man1 && \
+               ln -s /usr/share/man/man1/lo$$i.1.gz 
debian/openoffice.org-$$i/usr/share/man/man1/oo$$i.1.gz; \
+       done
+       ln -s /usr/share/man/man1/loweb.1.gz 
debian/openoffice.org-writer/usr/share/man/man1/ooweb.1.gz
+       mkdir -p debian/openoffice.org-common/usr/share/man/man1
+       ln -s /usr/share/man/man1/lofromtemplate.1.gz 
debian/openoffice.org-common/usr/share/man/man1/oofromtemplate.1.gz
+       ln -s /usr/share/man/man1/libreoffice.1.gz 
debian/openoffice.org-common/usr/share/man/man1/openoffice.1.gz
+
+binary-indep: install
        dh_testdir
        dh_testroot
        dh_installchangelogs -i
        dh_installdocs -i
+       dh_link -i
        dh_lintian -i
        dh_compress -i
        dh_installdeb -i

-- 
OpenOffice.org packaging repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to