~eloaders/i-nex/I-Nex

« back to all changes in this revision

Viewing changes to pixmaps/Makefile

  • Committer: eloaders
  • Date: 2014-01-29 14:36:27 UTC
  • Revision ID: git-v1:af5949159d698e65b4d2a2062f57062a7f606cfc
New I-Nex Logo

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
MKDIR_P = mkdir -p
4
4
datarootdir = /usr/share
5
5
make: 
6
 
        ${MKDIR_P} 16x16
7
 
        ${MKDIR_P} 22x22
8
 
        ${MKDIR_P} 32x32
9
 
        ${MKDIR_P} 48x48
10
 
        ${MKDIR_P} pixmaps
11
 
        convert i-nex.png -resize 16x16 16x16/i-nex.xpm
12
 
        convert i-nex.png -resize 32x32 32x32/i-nex.xpm
13
 
        convert i-nex.png -resize 22x22 22x22/i-nex.xpm
14
 
        convert i-nex.png -resize 48x48 48x48/i-nex.xpm
15
 
        convert i-nex.png -resize 96x96 pixmaps/i-nex.xpm
 
6
 
 
7
        convert i-nex.png -resize 16x16 i-nex-16.png
 
8
        convert i-nex.png -resize 32x32 i-nex-32.png
 
9
        convert i-nex.png -resize 128x128 i-nex-128.png
16
10
        
17
11
install:
18
12
        ${MKDIR_P} ${DESTDIR}${datarootdir}/pixmaps
19
 
        ${MKDIR_P} ${DESTDIR}${datarootdir}/icons/hicolor/22x22/apps
20
 
        ${MKDIR_P} ${DESTDIR}${datarootdir}/icons/hicolor/16x16/apps
21
 
        ${MKDIR_P} ${DESTDIR}${datarootdir}/icons/hicolor/32x32/apps
22
 
        ${MKDIR_P} ${DESTDIR}${datarootdir}/icons/hicolor/48x48/apps
23
 
        ${INSTALL} -m 644 pixmaps/i-nex.xpm "${DESTDIR}${datarootdir}/pixmaps/"
24
 
        ${INSTALL} -m 644 16x16/i-nex.xpm "${DESTDIR}${datarootdir}/pixmaps/i-nex-16.xpm"
25
 
        ${INSTALL} -m 644 32x32/i-nex.xpm "${DESTDIR}${datarootdir}/pixmaps/i-nex-32.xpm"
26
 
        ${INSTALL} -m 644 16x16/i-nex.xpm "${DESTDIR}${datarootdir}/icons/hicolor/16x16/apps/"
27
 
        ${INSTALL} -m 644 22x22/i-nex.xpm "${DESTDIR}${datarootdir}/icons/hicolor/22x22/apps/"
28
 
        ${INSTALL} -m 644 32x32/i-nex.xpm "${DESTDIR}${datarootdir}/icons/hicolor/32x32/apps/"
29
 
        ${INSTALL} -m 644 48x48/i-nex.xpm "${DESTDIR}${datarootdir}/icons/hicolor/48x48/apps/"
 
13
        ${INSTALL} -m 644 i-nex.png "${DESTDIR}${datarootdir}/pixmaps/"
 
14
        ${INSTALL} -m 644 i-nex-16.png "${DESTDIR}${datarootdir}/pixmaps/"
 
15
        ${INSTALL} -m 644 i-nex-32.png "${DESTDIR}${datarootdir}/pixmaps/"
 
16
        ${INSTALL} -m 644 i-nex-128.png "${DESTDIR}${datarootdir}/pixmaps/"
30
17
        
31
18
uninstall:
32
19
 
33
 
        if test -f "${DESTDIR}${datarootdir}/icons/hicolor/16x16/apps/i-nex.xpm" ; then ${RM} "${DESTDIR}${datarootdir}/icons/hicolor/16x16/apps/i-nex.xpm" ; fi
34
 
        if test -f "${DESTDIR}${datarootdir}/icons/hicolor/22x22/apps/i-nex.xpm" ; then ${RM} "${DESTDIR}${datarootdir}/icons/hicolor/22x22/apps/i-nex.xpm" ; fi
35
 
        if test -f "${DESTDIR}${datarootdir}/icons/hicolor/32x32/apps/i-nex.xpm" ; then ${RM} "${DESTDIR}${datarootdir}/icons/hicolor/32x32/apps/i-nex.xpm" ; fi
36
 
        if test -f "${DESTDIR}${datarootdir}/icons/hicolor/48x48/apps/i-nex.xpm" ; then ${RM} "${DESTDIR}${datarootdir}/icons/hicolor/48x48/apps/i-nex.xpm" ; fi
37
 
        if test -f "${DESTDIR}${datarootdir}/pixmaps/i-nex.xpm" ; then ${RM} "${DESTDIR}${datarootdir}/pixmaps/i-nex.xpm" ; fi
38
 
        if test -f "${DESTDIR}${datarootdir}/pixmaps/i-nex-16.xpm" ; then ${RM} "${DESTDIR}${datarootdir}/pixmaps/i-nex-16.xpm" ; fi
39
 
        if test -f "${DESTDIR}${datarootdir}/pixmaps/i-nex-32.xpm" ; then ${RM} "${DESTDIR}${datarootdir}/pixmaps/i-nex-32.xpm" ; fi
40
 
 
 
20
        if test -f "${DESTDIR}${datarootdir}/pixmaps/i-nex-16.png" ; then ${RM} "${DESTDIR}${datarootdir}/pixmaps/i-nex-16.png" ; fi
 
21
        if test -f "${DESTDIR}${datarootdir}/pixmaps/i-nex-32.png" ; then ${RM} "${DESTDIR}${datarootdir}/pixmaps/i-nex-32.png" ; fi
 
22
        if test -f "${DESTDIR}${datarootdir}/pixmaps/i-nex-128.png" ; then ${RM} "${DESTDIR}${datarootdir}/pixmaps/i-nex-128.png" ; fi
 
23
        
41
24
clean:
42
25
        
43
 
        rm -Rf pixmaps
44
 
        rm -Rf 16x16
45
 
        rm -Rf 22x22
46
 
        rm -Rf 32x32
47
 
        rm -Rf 48x48
 
 
b'\\ No newline at end of file'
 
26
        rm i-nex-16.png
 
27
        rm i-nex-32.png
 
28
        rm i-nex-128.png