Changeset 1217


Ignore:
Timestamp:
05/07/07 13:23:43 (7 years ago)
Author:
alanbach-guest
Message:

human-icon-theme updates

Location:
pkg/non-free/human-icon-theme/trunk/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pkg/non-free/human-icon-theme/trunk/debian/changelog

    r1129 r1217  
     1human-icon-theme (1:0.18-parsix3) unstable; urgency=low 
     2 
     3  * Sync'd logo dir structure and rules file with Debian  
     4 
     5 -- Alan Baghumian <alan@technotux.org>  Mon, 07 May 2007 14:52:00 +0330 
     6 
    17human-icon-theme (1:0.18-parsix2) unstable; urgency=low 
    28 
  • pkg/non-free/human-icon-theme/trunk/debian/rules

    r1113 r1217  
    66include /usr/share/cdbs/1/rules/simple-patchsys.mk 
    77 
    8 DISTRO=$(shell lsb_release -si) 
     8DISTRO := $(shell lsb_release -si) 
    99 
    1010# Anyway, defaults to Debian 
    11 -test -z ${DISTRO} && DISTRO="Debian" 
     11ifeq ($(DISTRO),) 
     12DISTRO := Debian 
     13endif 
    1214 
    1315clean:: 
    14         echo ${DISTRO} 
    15         -test -e debian/${DISTRO}/start-here-22x22.png && \ 
    16                 rm debian/${DISTRO}/start-here-22x22.png 
    17         -test -e debian/${DISTRO}/start-here-24x24.png && \ 
    18                 rm debian/${DISTRO}/start-here-24x24.png 
    19         -test -e debian/${DISTRO}/start-here-48x48.png && \ 
    20                 rm debian/${DISTRO}/start-here-48x48.png 
     16        @echo "=== Building for distribution: $(DISTRO) ===" 
     17        find debian/$(DISTRO) -name '*.png' | xargs rm -fv 
    2118 
    2219build: 
    23         sng debian/${DISTRO}/*.sng 
    24          
     20        @echo "=== Installing distribution specific overrides ===" 
     21        if [ -d debian/$(DISTRO) ]; then \ 
     22            find debian/$(DISTRO) -name '*.sng' | xargs sng; \ 
     23        fi 
     24 
     25ICON_DIR := debian/human-icon-theme/usr/share/icons/Human 
     26 
    2527binary-post-install/human-icon-theme:: 
    26         # replace Ubuntu logo with Debian or Parsix 
    27         install -D -m 644 -o root -g root debian/${DISTRO}/start-here-22x22.png \ 
    28                 debian/human-icon-theme/usr/share/icons/Human/22x22/places/start-here.png 
    29         install -D -m 644 -o root -g root debian/${DISTRO}/start-here-24x24.png \ 
    30                 debian/human-icon-theme/usr/share/icons/Human/24x24/places/start-here.png 
    31         install -D -m 644 -o root -g root debian/${DISTRO}/start-here-48x48.png \ 
    32                 debian/human-icon-theme/usr/share/icons/Human/48x48/places/start-here.png 
    33         install -D -m 644 -o root -g root debian/${DISTRO}/start-here.svg \ 
    34                 debian/human-icon-theme/usr/share/icons/Human/scalable/places/start-here.svg     
    35          
     28        # replace the Ubuntu logos with the distribution overrides 
     29        if [ -d debian/$(DISTRO) ]; then \ 
     30            cp -rvf debian/$(DISTRO)/* $(ICON_DIR)/; \ 
     31        fi 
     32        # don't ship the sng files 
     33        find $(ICON_DIR) -name '*.sng' | xargs rm -fv 
    3634 
Note: See TracChangeset for help on using the changeset viewer.