diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-17 07:40:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-17 07:40:35 +0000 |
commit | 59b43b4b7398858b220c55b1b38101428f8a2c0b (patch) | |
tree | b823a3c787c452ba70124cfb219e9c1bf759c171 /pixmaps/Makefile.am | |
parent | a0677cf8ba5ccf83f2a01fa831415717b6b4c244 (diff) | |
download | gnunet-gtk-59b43b4b7398858b220c55b1b38101428f8a2c0b.tar.gz gnunet-gtk-59b43b4b7398858b220c55b1b38101428f8a2c0b.zip |
importing 0.9.x gnunet-gtk branch
Diffstat (limited to 'pixmaps/Makefile.am')
-rw-r--r-- | pixmaps/Makefile.am | 39 |
1 files changed, 37 insertions, 2 deletions
diff --git a/pixmaps/Makefile.am b/pixmaps/Makefile.am index 608aef06..b447360e 100644 --- a/pixmaps/Makefile.am +++ b/pixmaps/Makefile.am | |||
@@ -1,3 +1,38 @@ | |||
1 | ## Process this file with automake to produce Makefile.in | 1 | theme=hicolor |
2 | themedir="$(datadir)/icons/$(theme)" | ||
3 | theme_icons = \ | ||
4 | apps,gnunet-gtk.svg \ | ||
5 | apps,gnunet-gtk-16.png \ | ||
6 | apps,gnunet-gtk-22.png \ | ||
7 | apps,gnunet-gtk-24.png \ | ||
8 | apps,gnunet-gtk-32.png | ||
2 | 9 | ||
3 | SUBDIRS = icons . | 10 | pkgpixdir= $(pkgdatadir) |
11 | |||
12 | install_icon_exec=${top_srcdir}/pixmaps/icon-theme-installer -d "x${DESTDIR}" -t ${theme} -s ${srcdir} -b ${themedir} -m "${mkinstalldirs}" -x "${INSTALL_DATA}" | ||
13 | |||
14 | install-data-local: | ||
15 | $(mkinstalldirs) $(DESTDIR)$(pkgpixdir) | ||
16 | $(mkinstalldirs) $(DESTDIR)$(pkgpixdir)/flags | ||
17 | @$(NORMAL_INSTALL) | ||
18 | for pixmap in $(srcdir)/pixmaps/*.{png,svg}; do \ | ||
19 | if test -f $$pixmap; then \ | ||
20 | $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgpixdir); \ | ||
21 | fi \ | ||
22 | done | ||
23 | $(install_icon_exec) -i "${theme_icons}" | ||
24 | |||
25 | dist-hook: | ||
26 | mkdir $(distdir)/pixmaps; \ | ||
27 | for pixmap in $(srcdir)/pixmaps/*.{png,svg}; do \ | ||
28 | if test -f $$pixmap; then \ | ||
29 | cp -p $$pixmap $(distdir)/pixmaps; \ | ||
30 | fi \ | ||
31 | done | ||
32 | |||
33 | |||
34 | uninstall-hook: | ||
35 | $(install_icon_exec) -u "${theme_icons}" | ||
36 | |||
37 | MAINTAINERCLEANFILES = Makefile.in | ||
38 | EXTRA_DIST = gnunet-gtk.svg gnunet-gtk-16.png gnunet-gtk-22.png gnunet-gtk-24.png gnunet-gtk-32.png icon-theme-installer | ||