Install hicolor svg; move the files Makefile.am to their subdirectories

This commit is contained in:
RichardHitt 2012-12-16 17:29:08 -08:00
parent c6d955ade7
commit 925b45e8f0
5 changed files with 21 additions and 7 deletions

View File

@ -1,13 +1,7 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = po intl src plugins man
SUBDIRS = po intl src plugins man share
EXTRA_DIST = autogen.sh
icon_DATA = src/pixmaps/hexchat.png
icondir = $(datadir)/pixmaps
util_DATA = share/misc/hexchat.desktop
utildir = $(datadir)/applications
ACLOCAL_AMFLAGS = -I m4

View File

@ -950,6 +950,9 @@ AC_SUBST(hexchatlibdir)
AC_OUTPUT([
Makefile
share/Makefile
share/icons/Makefile
share/misc/Makefile
src/Makefile
src/common/Makefile
src/common/dbus/Makefile

1
share/Makefile.am Normal file
View File

@ -0,0 +1 @@
SUBDIRS = icons misc

13
share/icons/Makefile.am Normal file
View File

@ -0,0 +1,13 @@
icon_DATA = ../../src/pixmaps/hexchat.png
icondir = $(datadir)/pixmaps
hicolor_DATA = hexchat.svg
hicolordir = $(datadir)/icons/hicolor/scalable/apps
UPDATE_ICON_CACHE = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook:
$(UPDATE_ICON_CACHE);
uninstall-hook:
$(UPDATE_ICON_CACHE);

3
share/misc/Makefile.am Normal file
View File

@ -0,0 +1,3 @@
util_DATA = hexchat.desktop
utildir = $(datadir)/applications