summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2019-12-05 18:44:31 +0100
committerSlávek Banko <[email protected]>2019-12-05 18:44:58 +0100
commitd16e1060a826ce29b97faed766171fcf3cad4d74 (patch)
tree3ca50ca3bf92dddc3388e17658431fd5d5c5684c
parent216e5d79b6e7f242335b4bcf839e51cebadf6e1b (diff)
downloadkvpnc-d16e1060a826ce29b97faed766171fcf3cad4d74.tar.gz
kvpnc-d16e1060a826ce29b97faed766171fcf3cad4d74.zip
automake: Install the application icon in applications instead of applnk.
Signed-off-by: François Andriot <[email protected]> Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 34a322f32ec2411c382bb904b1a3d791d1593b22)
-rw-r--r--src/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 2ef92ed..7b2b18f 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