aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2019-12-02 16:41:20 -0500
committerJason Woodward2019-12-02 16:41:20 -0500
commit689d0687df84b122ec8c5c43f2d492c88368eb2e (patch)
treeebe89aaa263d1619416b5d96051e9ed06760ea99
parent1474d06def02a6091e30e4596d79d217e6c0089d (diff)
downloadgslapt-689d0687df84b122ec8c5c43f2d492c88368eb2e.tar.gz
honor datadir prefix for pixmap icons
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index efb5810..3ac94d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,6 +32,7 @@ all-local:
@intltool-merge po/ -d -u gslapt.desktop.in gslapt.desktop
@intltool-merge po/ -d -u gslapt-kde.desktop.in gslapt-kde.desktop
@sed -i -re 's,(Exec=)(.*),\1$(sbindir)/@PACKAGE@,' gslapt.desktop gslapt-kde.desktop
+ @sed -i -re 's,(Icon=).*?(/pixmaps.*),\1$(datadir)\2,' gslapt.desktop gslapt-kde.desktop
install-data-local: