summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-09-29 09:31:20 +0200
committerMichele Calgaro <[email protected]>2020-09-29 18:17:40 +0900
commit62e72a56efdd899229968eca3e5fc1b6c081f4c2 (patch)
tree007f5da069a7dab0cd6fdb9fafcd058078dc7d9b /src
parentce8d02907ad5965089e4f2b3cbc3810ea42fa462 (diff)
downloadkerberostray-62e72a56efdd899229968eca3e5fc1b6c081f4c2.tar.gz
kerberostray-62e72a56efdd899229968eca3e5fc1b6c081f4c2.zip
Drop automake build support.
Add basic cmake build instructions. Delete empty folder doc. Delete empty files NEWS and TODO. Add a README file. Some cosmetics. Signed-off-by: gregory guy <[email protected]> (cherry picked from commit 65d08b5b3cd629d406f8bf1cffa6ea392a93b3b7)
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