Also install the mood icons.

This commit is contained in:
js 2008-07-23 00:05:23 +00:00
parent 00847d91bf
commit e952be87fd
3 changed files with 43 additions and 4 deletions

View File

@ -227,13 +227,14 @@ AC_CONFIG_FILES([
data/emoticons/Makefile data/emoticons/Makefile
data/pixmaps/Makefile data/pixmaps/Makefile
data/iconsets/Makefile data/iconsets/Makefile
data/moods/Makefile
data/gajim.desktop.in data/gajim.desktop.in
data/defs.py data/defs.py
src/Makefile src/Makefile
src/common/Makefile src/common/Makefile
src/osx/Makefile src/osx/Makefile
src/osx/growl/Makefile src/osx/growl/Makefile
src/osx/syncmenu/Makefile src/osx/syncmenu/Makefile
scripts/gajim scripts/gajim
scripts/gajim-remote scripts/gajim-remote
po/Makefile.in po/Makefile.in

View File

@ -1,4 +1,4 @@
SUBDIRS = glade emoticons pixmaps iconsets SUBDIRS = glade emoticons pixmaps iconsets moods
@INTLTOOL_DESKTOP_RULE@ @INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications desktopdir = $(datadir)/applications

38
data/moods/Makefile.am Normal file
View File

@ -0,0 +1,38 @@
moodsdir = $(pkgdatadir)/data/moods
moods_DATA =
MOODS_DIRS = **
MOODS_FILES = **/{*.png,*.gif}
install-data-local:
@for d in $$(cd $(srcdir); echo $(MOODS_DIRS));do \
if test -d $(srcdir)/$$d;then \
echo " $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/data/moods/$$d"; \
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/data/moods/$$d || exit 1; \
fi; \
done; \
for f in $$(cd $(srcdir); echo $(MOODS_FILES));do \
if test -f $(srcdir)/$$f; then \
echo " $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(pkgdatadir)/data/moods/$$f"; \
$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(pkgdatadir)/data/moods/$$f || exit 1; \
fi; \
done;
dist-hook:
@for d in $$(cd $(srcdir); echo $(MOODS_DIRS));do \
if test -d $(srcdir)/$$d;then \
echo " $(mkdir_p) $(distdir)/$$d"; \
$(mkdir_p) $(distdir)/$$d || exit 1; \
fi; \
done; \
for f in $$(cd $(srcdir); echo $(MOODS_FILES));do \
if test -f $(srcdir)/$$f; then \
echo " cp -pR $(srcdir)/$$f $(distdir)/$$f"; \
cp -pR $(srcdir)/$$f $(distdir)/$$f || exit 1; \
fi; \
done;
MAINTAINERCLEANFILES = Makefile.in