~ubuntu-branches/ubuntu/hardy/kdebase-workspace/hardy-backports

« back to all changes in this revision

Viewing changes to debian/cdbs/kde.mk

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-05-02 23:57:34 UTC
  • mfrom: (1.2.1 upstream) (20.1.22 hardy)
  • Revision ID: james.westby@ubuntu.com-20080502235734-kwrykz4qcvunwqf4
Tags: 4:4.0.4-0ubuntu1~hardy1
* New upstream release (LP: #225994)
* Updated control file (LP: #220655)
* Updated install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
                        $(KDE4-ENABLE-FINAL) \
11
11
                        -DKDE4_BUILD_TESTS=true \
12
12
                        -DKDE_DISTRIBUTION_TEXT="Kubuntu packages" \
 
13
                        -DXDG_APPS_INSTALL_DIR=/usr/share/applications/kde4/ \
13
14
                        -DCONFIG_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/etc/kde4 \
14
15
                        -DDATA_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/kde4/apps \
15
16
                        -DHTML_INSTALL_DIR=$(DEB_CMAKE_PREFIX)/share/doc/kde4/HTML \
91
92
                rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \
92
93
        done
93
94
 
 
95
#For Kubuntu paths create custom binary wrapper and .desktop menu files
 
96
kde4-wrapper-creation:
 
97
        if [ -e $(DEB_DESTDIR)/usr/share/applications/kde4/ ]; then \
 
98
                for file in `ls $(DEB_DESTDIR)/usr/share/applications/kde4/`; do \
 
99
                        sed -i 's,Exec=,Exec=/usr/lib/kde4/bin/,' $(DEB_DESTDIR)/usr/share/applications/kde4/$${file}; \
 
100
                done; \
 
101
        fi
 
102
 
 
103
common-install-indep:: kde4-wrapper-creation
 
104
common-install-arch:: kde4-wrapper-creation