~mvo/software-center/lp1008590

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Michael Vogt
  • Date: 2009-08-24 13:34:13 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090824133413-2u4cey0b90e6bqfe
rename from app-center to software-store

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
share:=usr/share/app-center
 
2
share:=usr/share/software-store
3
3
%:
4
4
        DH_PYCENTAL=include-links dh --with=python-central $@
5
5
 
6
6
# Install the modules in a private directory, as our applications are the
7
7
# only ones using them.
8
8
override_dh_auto_install:
9
 
        dh_auto_install -- --install-lib /usr/share/app-center
10
 
        rm -r debian/app-center/usr/share/app-center/*.egg-info
 
9
        dh_auto_install -- --install-lib /usr/share/software-store
 
10
        rm -r debian/software-store/usr/share/software-store/*.egg-info
11
11
        # Move the scripts to $(SHARE) and relink them again later.
12
 
        mv debian/app-center/usr/*bin/* debian/app-center/$(share)
13
 
        rmdir debian/app-center/usr/*bin
14
 
        dh_link $(share)/app-center usr/bin/app-center \
15
 
                $(share)/update-app-center usr/sbin/update-app-center
 
12
        mv debian/software-store/usr/*bin/* debian/software-store/$(share)
 
13
        rmdir debian/software-store/usr/*bin
 
14
        dh_link $(share)/software-store usr/bin/software-store \
 
15
                $(share)/update-software-store usr/sbin/update-software-store
16
16
        # Remove empty directories.
17
 
        find debian/app-center/usr -type d -empty -delete
 
17
        find debian/software-store/usr -type d -empty -delete