From: Hib Eris Date: Sat, 19 Dec 2009 12:27:46 +0000 (+0100) Subject: Add evince icon to the win32 executable X-Git-Tag: EVINCE_2_29_5~48 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=evince.git;a=commitdiff_plain;h=45467f0d8a4dacfe4209fba0a605e86b2b2e9b80 Add evince icon to the win32 executable --- diff --git a/data/Makefile.am b/data/Makefile.am index a3c4e229..79660251 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -119,6 +119,7 @@ EXTRA_DIST = \ $(schema_in_files) \ org.gnome.evince.Daemon.service.in \ $(man_MANS) \ + evince.ico \ $(NULL) # diff --git a/data/evince.ico b/data/evince.ico new file mode 100644 index 00000000..1015d1f8 Binary files /dev/null and b/data/evince.ico differ diff --git a/shell/Makefile.am b/shell/Makefile.am index 709289a5..16f30340 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -111,6 +111,13 @@ evince_LDADD= \ $(top_builddir)/libmisc/libevmisc.la \ $(SHELL_LIBS) +if PLATFORM_WIN32 +evince_LDADD += evince-icon.o + +evince-icon.o: $(srcdir)/evince-icon.rc $(top_srcdir)/data/evince.ico + $(WINDRES) $(srcdir)/evince-icon.rc -I $(top_srcdir)/data evince-icon.o +endif + BUILT_SOURCES = ev-marshal.h ev-marshal.c if ENABLE_DBUS @@ -147,6 +154,7 @@ endif EXTRA_DIST = ev-marshal.list \ ev-application-service.xml \ ev-daemon-service.xml \ + evince-icon.rc \ $(EV_MEDIA_PLAYER_KEYS_SOURCES) diff --git a/shell/evince-icon.rc b/shell/evince-icon.rc new file mode 100644 index 00000000..7a37b524 --- /dev/null +++ b/shell/evince-icon.rc @@ -0,0 +1 @@ +1 ICON "evince.ico"