~ubuntu-branches/ubuntu/natty/gnome-icon-theme/natty

« back to all changes in this revision

Viewing changes to 24x24/mimetypes/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-06-10 11:50:31 UTC
  • mfrom: (1.1.44 upstream)
  • Revision ID: james.westby@ubuntu.com-20100610115031-d5kn01lfqthbzcim
Tags: 2.30.3-1ubuntu1
* Merge with Debian unstable, remaining Ubuntu changes:
* debian/control.in:
  - Add Vcs-Bzr link
* debian/rules:
  - Install distributor icons
  - Use the --enable-icon-mapping configure option
* debian/prerm:
* debian/postinst:
  - Update alternatives for Ubuntu icon
* debian/source:
  - Use source version 3.0
* debian/ubuntu-icons: 
  - Ubuntu logo and cd isos logos
* debian/watch: 
  - Watch unstable versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
size = 24x24
3
 
context = mimetypes
4
 
 
5
 
iconsdir = $(themedir)/$(size)/$(context)
6
 
 
7
 
icons_DATA =                            \
8
 
        application-certificate.png     \
9
 
        application-x-executable.png    \
10
 
        audio-x-generic.png             \
11
 
        font-x-generic.png              \
12
 
        image-x-generic.png             \
13
 
        package-x-generic.png           \
14
 
        text-html.png                   \
15
 
        text-x-generic.png              \
16
 
        text-x-generic-template.png     \
17
 
        text-x-preview.png              \
18
 
        text-x-script.png               \
19
 
        video-x-generic.png             \
20
 
        x-office-address-book.png       \
21
 
        x-office-calendar.png           \
22
 
        x-office-document.png           \
23
 
        x-office-drawing.png            \
24
 
        x-office-presentation.png       \
25
 
        x-office-spreadsheet.png
26
 
 
27
 
EXTRA_DIST =            \
28
 
        $(icons_DATA)
29
 
 
30
 
MAINTAINERCLEANFILES =  \
31
 
        Makefile.in
32
 
 
33
 
install-data-local: install-iconsDATA
34
 
        (cd $(DESTDIR)$(themedir)/$(size) && $(ICONMAP) -c $(context))
35
 
 
36
 
check:
37
 
        if test -r CVS/Entries; then \
38
 
                for icon in *.png; do \
39
 
                        if grep $$icon CVS/Entries > /dev/null; then \
40
 
                                if ! grep $$icon Makefile > /dev/null; then \
41
 
                                        echo "Missing $$icon in Makefile.am"; \
42
 
                                        exit 1; \
43
 
                                fi; \
44
 
                        fi; \
45
 
                done; \
46
 
        else \
47
 
                for icon in *.png; do \
48
 
                        if ! grep $$icon Makefile > /dev/null; then \
49
 
                                echo "Missing $$icon in Makefile.am"; \
50
 
                                exit 1; \
51
 
                        fi; \
52
 
                done; \
53
 
        fi