Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 88 lines (73 sloc) 2.712 kB
e199861 @danc86 Install Xfce binary in $(libdir)/xfce4/panel/plugins
danc86 authored
1 plugindir = $(PLUGIN_DIR)
2 plugin_PROGRAMS = xmonad-log-applet
940130e @alexkay Use automake
authored
3
4 xmonad_log_applet_SOURCES = main.c
5
6 xmonad_log_applet_CPPFLAGS = \
d6941d8 @alexkay Tidy
authored
7 $(GLIB_CFLAGS) \
8 $(DBUS_GLIB_CFLAGS) \
9 $(LIBPANEL_CFLAGS)
940130e @alexkay Use automake
authored
10
11 xmonad_log_applet_LDADD = \
d6941d8 @alexkay Tidy
authored
12 $(GLIB_LIBS) \
13 $(DBUS_GLIB_LIBS) \
14 $(LIBPANEL_LIBS)
be9c774 @alexkay automake xmonad-log-applet.schema
authored
15
81e7415 @alexkay Fix install locations
authored
16 appletdir = $(LIBPANEL_APPLET_DIR)
d6941d8 @alexkay Tidy
authored
17 if PANEL_GNOME
18 applet_files = org.gnome.panel.XmonadLogApplet.panel-applet
19 $(applet_files): $(applet_files:.panel-applet=.panel-applet.in)
1ca39f3 @geniass remove indentation (supposedly fixes stuff)
geniass authored
20 $(SED) -e "s|\@PLUGIN_DIR\@|$(PLUGIN_DIR)|" $< > $@
d6941d8 @alexkay Tidy
authored
21 endif
1ca39f3 @geniass remove indentation (supposedly fixes stuff)
geniass authored
22 if PANEL_MATE
3413d1a @geniass using libmatepanel-3.0
geniass authored
23 applet_files = org.mate.panel.XmonadLogApplet.mate-panel-applet
7040e8f @geniass thought I saved that...
geniass authored
24 $(applet_files): $(applet_files:.mate-panel-applet=.mate-panel-applet.in)
1ca39f3 @geniass remove indentation (supposedly fixes stuff)
geniass authored
25 $(SED) -e "s|\@PLUGIN_DIR\@|$(PLUGIN_DIR)|" $< > $@
26 endif
d6941d8 @alexkay Tidy
authored
27 if PANEL_XFCE4
28 applet_files = xmonad-log-applet.desktop
29 $(applet_files): $(applet_files:.desktop=.desktop.in)
30 $(SED) -e "s|\@PLUGIN_DIR\@|$(PLUGIN_DIR)|" $< > $@
07df550 @alexkay Xfce 4 auto-fu
authored
31 endif
07bf679 @geniass fixed totally broken IF's in makefile.am
geniass authored
32
07df550 @alexkay Xfce 4 auto-fu
authored
33 applet_DATA = $(applet_files)
e3a62b3 @alexkay Install the D-Bus service file
authored
34
d6941d8 @alexkay Tidy
authored
35 if PANEL_GNOME
1ca39f3 @geniass remove indentation (supposedly fixes stuff)
geniass authored
36 servicedir = $(SESSION_BUS_SERVICES_DIR)
37 service_in_files = org.gnome.panel.applet.XmonadLogAppletFactory.service.in
38 service_DATA = $(service_in_files:.service.in=.service)
39 org.gnome.panel.applet.XmonadLogAppletFactory.service: $(service_in_files)
d6941d8 @alexkay Tidy
authored
40 $(SED) -e "s|\@PLUGIN_DIR\@|$(PLUGIN_DIR)|" $< > $@
41 endif
42 if PANEL_MATE
1ca39f3 @geniass remove indentation (supposedly fixes stuff)
geniass authored
43 servicedir = $(SESSION_BUS_SERVICES_DIR)
44 service_in_files = org.mate.panel.applet.XmonadLogAppletFactory.service.in
45 service_DATA = $(service_in_files:.service.in=.service)
46 org.mate.panel.applet.XmonadLogAppletFactory.service: $(service_in_files)
47 $(SED) -e "s|\@PLUGIN_DIR\@|$(PLUGIN_DIR)|" $< > $@
48 endif
b2a2620 @alexkay automake xmonad-log-applet.server
authored
49
50 DISTCLEANFILES = \
d6941d8 @alexkay Tidy
authored
51 $(applet_DATA) \
52 $(service_DATA)
b2a2620 @alexkay automake xmonad-log-applet.server
authored
53
54 EXTRA_DIST = \
d6941d8 @alexkay Tidy
authored
55 AUTHORS.md \
56 LICENSE \
57 README.md \
58 xmonad.hs \
59 xmonad-log-applet48.png \
60 org.gnome.panel.XmonadLogApplet.panel-applet.in \
677b5c2 @alexkay Fix `make dist`
authored
61 org.gnome.panel.applet.XmonadLogAppletFactory.service.in \
62 org.mate.panel.XmonadLogApplet.mate-panel-applet.in \
63 org.mate.panel.applet.XmonadLogAppletFactory.service.in \
64 xmonad-log-applet.desktop.in
25d4af5 @alexkay automake the icon
authored
65
66 gtk_update_icon_cache = gtk-update-icon-cache -f -t
67
68 update-icon-cache:
69 @-if test -z "$(DESTDIR)"; then \
d6941d8 @alexkay Tidy
authored
70 echo "Updating Gtk icon cache."; \
71 $(gtk_update_icon_cache) $(datadir)/icons/hicolor; \
72 else \
73 echo "*** Icon cache not updated. After (un)install, run this:"; \
74 echo "*** $(gtk_update_icon_cache) $(datadir)/icons/hicolor"; \
75 fi
25d4af5 @alexkay automake the icon
authored
76
77 install-icons:
78 mkdir -p $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps; \
d6941d8 @alexkay Tidy
authored
79 $(INSTALL_DATA) $(srcdir)/xmonad-log-applet48.png \
80 $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/xmonad-log-applet.png;
25d4af5 @alexkay automake the icon
authored
81
82 uninstall-icons:
5dc665f @alexkay Rename the icon to avoid conflicts
authored
83 rm -f $(DESTDIR)$(datadir)/icons/hicolor/48x48/apps/xmonad-log-applet.png;
25d4af5 @alexkay automake the icon
authored
84
85 install-data-local: install-icons update-icon-cache
86
87 uninstall-local: uninstall-icons update-icon-cache
Something went wrong with that request. Please try again.