summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-03-20 13:27:39 +0100
committergregory guy <gregory-tde@laposte.net>2020-03-20 13:53:10 +0100
commit52aa25b6f791a82b048d818a61a283e57fdcc9ca (patch)
tree128501cb6fe1436f779acb623320fb70f6380482 /src
parent8fab564a3ea1f1046f3348d058a7ae367d51633f (diff)
downloadpotracegui-52aa25b6f791a82b048d818a61a283e57fdcc9ca.tar.gz
potracegui-52aa25b6f791a82b048d818a61a283e57fdcc9ca.zip
Drop automake build support.
Add basic cmake build instructions. Delete templates folder. Delete empty files NEWS and TODO. Rework of the README file. Move the desktop file into the XDG_APPS_INSTALL_DIR directory, see TDE/tde#26. Some cosmetics. Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/Makefile.am34
2 files changed, 1 insertions, 35 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d3bf61d..0589218 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -46,5 +46,5 @@ install(
install(
FILES ${PROJECT_NAME}.desktop
- DESTINATION ${APPS_INSTALL_DIR}/Graphics
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
)
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 63e24f4..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-# set the include path for X, qt and KDE
-INCLUDES = $(all_includes)
-
-# these are the headers for your project
-noinst_HEADERS = potracegui.h autotraceformats.h mainwidget.h options.h
-
-# let automoc handle all of the meta source files (moc)
-METASOURCES = AUTO
-
-messages: rc.cpp
- $(XGETTEXT) *.cpp -o $(podir)/potracegui.pot
-
-KDE_ICON = potracegui
-
-#########################################################################
-# APPLICATION SECTION
-#########################################################################
-# this is the program that gets installed. it's name is used for all
-# of the other Makefile.am variables
-bin_PROGRAMS = potracegui
-
-# the application source, library search path, and link libraries
-potracegui_SOURCES = main.cpp potracegui.cpp autotraceformats.cpp MainWidgetBase.ui mainwidget.cpp options.cpp
-potracegui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
-potracegui_LDADD = $(LIB_TDEIO) $(LIB_TDEUI)
-
-# this is where the desktop file will go
-shelldesktopdir = $(kde_appsdir)/Utilities
-shelldesktop_DATA = potracegui.desktop
-
-# this is where the shell's XML-GUI resource file goes
-shellrcdir = $(kde_datadir)/potracegui
-shellrc_DATA = potraceguiui.rc
-