~mistrynitesh/kubuntu-docs/fixes-two-bugs

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Richard A. Johnson
  • Date: 2010-03-14 05:51:27 UTC
  • Revision ID: nixternal@ubuntu.com-20100314055127-5y232tm6cued423b
 * Cleaned up the desktop files, made ready for translations (I think)
 * Started cleaning up the packaging stuff, what a mess after so many years.
   - The debian/copyright file is in need of updating
   - The debian/rules file needs to be completed and tested with new dh_install
     structure which I am sure will fail with my luck

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
install/kubuntu-docs::
18
18
 
19
19
        # about-kubuntu.desktop file for LiveCD desktop icon
20
 
        cp khelpcenter/about-kubuntu.desktop khelpcenter/about-kubuntu.desktop.tobemoved
21
 
        dh_install khelpcenter/about-kubuntu.desktop.tobemoved usr/share/kde4/apps/khelpcenter/plugins/kubuntu/about-kubuntu.desktop.tobemoved
22
 
        dh_install khelpcenter/about-kubuntu.desktop usr/share/kde4/apps/khelpcenter/plugins/kubuntu/about-kubuntu.desktop
 
20
        cp data/about.desktop.in data/about.desktop.in.tobemoved
 
21
        dh_install data/about.desktop.in.tobemoved usr/share/kde4/apps/khelpcenter/plugins/kubuntu/about.desktop.tobemoved
 
22
        dh_install data/about.desktop.in usr/share/kde4/apps/khelpcenter/plugins/kubuntu/about.desktop
23
23
 
24
24
        # *.desktop files to make documents appear in khelpcenter
25
 
        dh_install khelpdesktop/kubuntu/kubuntu-docs.desktop usr/share/kde4/apps/khelpcenter/plugins/kubuntu/kubuntu-docs.desktop
 
25
        dh_install data/kubuntu-docs.desktop usr/share/kde4/apps/khelpcenter/plugins/kubuntu/kubuntu-docs.desktop
26
26
 
27
27
        # this is the .directory file for proper naming in khelpcenter.
28
 
        dh_install khelpdesktop/kubuntu/directory.desktop usr/share/kde4/apps/khelpcenter/plugins/kubuntu/.directory
 
28
        dh_install data/directory.desktop usr/share/kde4/apps/khelpcenter/plugins/kubuntu/.directory
29
29
 
30
30
        # install screenshot images for Kubuntu docs
31
 
        dh_install build/kubuntu/images/C/* usr/share/doc/kde/HTML/en/images/C/
 
31
        dh_install build/kubuntu/images/* usr/share/doc/kde/HTML/en/images/C/
32
32
        
33
33
        # install english docs
34
 
        dh_install build/kubuntu/about-kubuntu/C/* usr/share/doc/kde/HTML/en/kubuntu/about-kubuntu/
35
 
        dh_install build/kubuntu/add-applications/C/* usr/share/doc/kde/HTML/en/kubuntu/add-applications/
36
 
        dh_install build/kubuntu/basic-commands/C/* usr/share/doc/kde/HTML/en/kubuntu/basic-commands/
37
 
        dh_install build/kubuntu/config-desktop/C/* usr/share/doc/kde/HTML/en/kubuntu/config-desktop/
38
 
        dh_install build/kubuntu/development/C/* usr/share/doc/kde/HTML/en/kubuntu/development/
39
 
        dh_install build/kubuntu/files-and-docs/C/* usr/share/doc/kde/HTML/en/kubuntu/files-and-docs/
40
 
        dh_install build/kubuntu/games/C/* usr/share/doc/kde/HTML/en/kubuntu/games/
41
 
        dh_install build/kubuntu/getting-help/C/* usr/share/doc/kde/HTML/en/kubuntu/getting-help/
42
 
        dh_install build/kubuntu/hardware/C/* usr/share/doc/kde/HTML/en/kubuntu/hardware/
43
 
        dh_install build/kubuntu/index/C/* usr/share/doc/kde/HTML/en/kubuntu/index/
44
 
        dh_install build/kubuntu/internet/C/* usr/share/doc/kde/HTML/en/kubuntu/internet/
45
 
        dh_install build/kubuntu/keeping-safe/C/* usr/share/doc/kde/HTML/en/kubuntu/keeping-safe/
46
 
        dh_install build/kubuntu/musicvideophotos/C/* usr/share/doc/kde/HTML/en/kubuntu/musicvideophotos/
47
 
        dh_install build/kubuntu/network/C/* usr/share/doc/kde/HTML/en/kubuntu/network/
48
 
        dh_install build/kubuntu/newtokubuntu/C/* usr/share/doc/kde/HTML/en/kubuntu/newtokubuntu/
49
 
        dh_install build/kubuntu/office/C/* usr/share/doc/kde/HTML/en/kubuntu/office/
50
 
        dh_install build/kubuntu/printing/C/* usr/share/doc/kde/HTML/en/kubuntu/printing/
51
 
        dh_install build/kubuntu/system-settings/C/* usr/share/doc/kde/HTML/en/kubuntu/system-settings/
 
34
        #dh_install build/kubuntu/about/C/* usr/share/doc/kde/HTML/en/kubuntu/about/
52
35
 
 
36
        # install docs (this is just to try out right now)
 
37
        for doc in `cd build/kubuntu/ && ls`; do \
 
38
            if [ $$doc != "common" ] || [ $$doc != "images" ]; then \
 
39
                for cc in `cd $$doc/ && ls`; do \
 
40
                    if [ $$cc = "C" ]; then \
 
41
                        dh_install build/kubuntu/$$doc/C/* usr/share/doc/kde/HTML/en/kubuntu/$$doc/
 
42
                    else
 
43
                        dh_install build/kubuntu/$$doc/$$cc/* usr/share/doc/kde/HTML/$$cc/kubuntu/$$doc/
 
44
                    fi
 
45
                done
 
46
            # Install common and images
 
47
            fi
 
48
        done
53
49
 
54
50
        ######## DOCUMENTATION W/ TRANSLATIONS ########
55
51
        # ABOUT KUBUNTU