summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2019-12-05 18:44:31 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-12-05 18:44:31 +0100
commit34a322f32ec2411c382bb904b1a3d791d1593b22 (patch)
treeddeb63727b0294f10e9cd5e6a623ce0286faed14 /src
parent5e1d488b8f8995b8811dc9f7c5c8b19eae2eb49e (diff)
downloadkvpnc-34a322f32ec2411c382bb904b1a3d791d1593b22.tar.gz
kvpnc-34a322f32ec2411c382bb904b1a3d791d1593b22.zip
automake: Install the application icon in applications instead of applnk.
Signed-off-by: François Andriot <francois.andriot@free.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b8acb0b..9cb7cfa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -57,13 +57,13 @@ EXTRA_DIST = main.cpp kvpnc.cpp kvpnc.h kvpnc.desktop preferencesdialog.cpp kvpn
install-data-local:
- $(mkinstalldirs) $(kde_appsdir)/
- $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(kde_appsdir)/kvpnc.desktop
+ $(mkinstalldirs) $(xdg_appsdir)/
+ $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(xdg_appsdir)/kvpnc.desktop
$(mkinstalldirs) $(kde_datadir)/kvpnc/
$(INSTALL_DATA) $(srcdir)/kvpncui.rc $(kde_datadir)/kvpnc/kvpncui.rc
$(mkinstalldirs) $(kde_datadir)/kvpnc/
$(INSTALL_DATA) $(srcdir)/eventsrc $(kde_datadir)/kvpnc/eventsrc
- $(INSTALL_DATA) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh
+ $(INSTALL_SCRIPT) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh
$(INSTALL_DATA) $(srcdir)/newprofilewizard.png $(kde_datadir)/kvpnc/newprofilewizard.png
$(INSTALL_DATA) $(srcdir)/newprofilewizard_final.png $(kde_datadir)/kvpnc/newprofilewizard_final.png
# $(INSTALL_DATA) $(srcdir)/x-cisco.desktop $(kde_mimedir)/application/x-cisco.desktop