mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
#503889: Improve r16678 when install icons according to spec.
Make it work for builddir != srcdir. Do not distribute share\icons or share\pixmaps on win32. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16683 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
4fc674cdc8
commit
1fb8b422e6
@ -183,7 +183,7 @@ function dist_gnucash() {
|
||||
cp -a $_INSTALL_UDIR/lib/gnucash/lib*.dll $DIST_UDIR/lib/gnucash
|
||||
cp -a $_INSTALL_UDIR/libexec $DIST_UDIR
|
||||
mkdir -p $DIST_UDIR/share
|
||||
cp -a $_INSTALL_UDIR/share/{gnucash,locale,pixmaps,xml} $DIST_UDIR/share
|
||||
cp -a $_INSTALL_UDIR/share/{gnucash,locale,xml} $DIST_UDIR/share
|
||||
cp -a $_REPOS_UDIR/packaging/win32/install-fq-mods.bat $DIST_UDIR/bin
|
||||
|
||||
_QTDIR_WIN=`echo $QTDIR | sed 's,^/\([A-Za-z]\)/,\1:/,g' `
|
||||
|
@ -39,25 +39,25 @@ gncpixmap_DATA = \
|
||||
gncnormalicondir = ${datadir}/icons/hicolor/48x48/apps
|
||||
gncnormalicon_DATA = 48x48/gnucash-icon.png
|
||||
48x48/gnucash-icon.png: gnucash-icon-48x48.png
|
||||
-mkdir 48x48
|
||||
cp gnucash-icon-48x48.png 48x48/gnucash-icon.png
|
||||
-mkdir -p 48x48
|
||||
cp ${srcdir}/gnucash-icon-48x48.png 48x48/gnucash-icon.png
|
||||
|
||||
gncmediumicondir = ${datadir}/icons/hicolor/32x32/apps
|
||||
gncmediumicon_DATA = 32x32/gnucash-icon.png
|
||||
32x32/gnucash-icon.png: gnucash-icon-32x32.png
|
||||
-mkdir 32x32
|
||||
cp gnucash-icon-32x32.png 32x32/gnucash-icon.png
|
||||
-mkdir -p 32x32
|
||||
cp ${srcdir}/gnucash-icon-32x32.png 32x32/gnucash-icon.png
|
||||
|
||||
gncsmallicondir = ${datadir}/icons/hicolor/16x16/apps
|
||||
gncsmallicon_DATA = 16x16/gnucash-icon.png
|
||||
16x16/gnucash-icon.png: gnucash-icon-16x16.png
|
||||
-mkdir 16x16
|
||||
cp gnucash-icon-16x16.png 16x16/gnucash-icon.png
|
||||
-mkdir -p 16x16
|
||||
cp ${srcdir}/gnucash-icon-16x16.png 16x16/gnucash-icon.png
|
||||
|
||||
gncscalableicondir = ${datadir}/icons/hicolor/scalable/apps
|
||||
gncscalableicon_DATA = scalable/gnucash-icon.svg
|
||||
scalable/gnucash-icon.svg: ${top_srcdir}/art/icon.svgz
|
||||
-mkdir scalable
|
||||
-mkdir -p scalable
|
||||
gzip -cd ${top_srcdir}/art/icon.svgz > scalable/gnucash-icon.svg
|
||||
|
||||
# As suggested by <http://live.gnome.org/GnomeGoals/AppIcon>
|
||||
|
Loading…
Reference in New Issue
Block a user