summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt9
-rw-r--r--src/Makefile.am26
2 files changed, 3 insertions, 32 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cd97f20..220fe55 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -42,12 +42,9 @@ tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/icons )
##### other data
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
-install(
- FILES ${PROJECT_NAME}.desktop
+tde_create_translated_desktop(
+ SOURCE ${PROJECT_NAME}.desktop
DESTINATION ${AUTOSTART_INSTALL_DIR}
)
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 3503e97..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-INCLUDES= $(all_includes) $(KDE_INCLUDES)/tde
-
-bin_PROGRAMS = kerberostray
-
-kerberostray_SOURCES = main.cpp toplevel.cpp configdlgbase.ui configdlg.cpp
-
-kerberostray_METASOURCES = AUTO
-kerberostray_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -ltdeldap
-
-# LIB_TDEIO needed for KNotifyDialog
-kerberostray_LDADD = $(LIB_TDEUI) $(LIB_TDEIO)
-
-KDE_ICON = kerberostray
-
-KDE_OPTIONS = nofinal
-
-kerberostrayicondir = $(kde_datadir)/kerberostray/icons
-kerberostrayicon_ICON = AUTO
-
-messages:
- $(XGETTEXT) $(kerberostray_SOURCES) -o $(podir)/kerberostray.pot
-
-xdg_apps_DATA = kerberostray.desktop
-
-autostart_DATA = kerberostray.desktop
-autostartdir = $(datadir)/autostart