aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/Makefile.am
blob: 58d0618a083c0e9d373987badd31cc1eebe66ee0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
themesdir = $(datadir)/adium/message-styles

themes = \
    $(boxes_messageStyle) \
    $(classic_messageStyle) \
    $(pgo_messageStyle) \
    $(NULL)

boxes_messageStyle = \
    Boxes.AdiumMessageStyle/Contents/Resources/Incoming/Content.html \
    Boxes.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html \
    Boxes.AdiumMessageStyle/Contents/Resources/main.css \
    Boxes.AdiumMessageStyle/Contents/Resources/Status.html \
    Boxes.AdiumMessageStyle/Contents/Resources/Variants/Clean.css \
    Boxes.AdiumMessageStyle/Contents/Resources/Variants/Simple.css \
    Boxes.AdiumMessageStyle/Contents/Resources/Variants/Blue.css \
    Boxes.AdiumMessageStyle/Contents/Info.plist \
    $(NULL)

classic_messageStyle = \
    Classic.AdiumMessageStyle/Contents/Resources/Content.html \
    Classic.AdiumMessageStyle/Contents/Resources/main.css \
    Classic.AdiumMessageStyle/Contents/Resources/Status.html \
    Classic.AdiumMessageStyle/Contents/Info.plist \
    $(NULL)

pgo_messageStyle = \
    PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/corners.png \
    PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/horizontal.png \
    PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/nipple.png \
    PlanetGNOME.AdiumMessageStyle/Contents/Resources/Images/vertical.png \
    PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/Content.html \
    PlanetGNOME.AdiumMessageStyle/Contents/Resources/Incoming/NextContent.html \
    PlanetGNOME.AdiumMessageStyle/Contents/Resources/Status.html \
    PlanetGNOME.AdiumMessageStyle/Contents/Resources/main.css \
    PlanetGNOME.AdiumMessageStyle/Contents/Info.plist \
    $(NULL)

install-themes: $(themes)
    for f in $^; do \
        mkdir -p `dirname $(DESTDIR)$(themesdir)/$$f`; \
        $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(themesdir)/$$f; \
    done

uninstall-themes: $(themes)
    for f in $^; do \
        rm -f $(DESTDIR)$(themesdir)/$$f; \
    done

install-data-local: install-themes

uninstall-local: uninstall-themes

EXTRA_DIST = \
    $(themes) \
    $(NULL)