summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-03-20 13:27:39 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-03-21 23:42:23 +0900
commit7ae90b80a347267de6f30cd6cf5f956f67e2092e (patch)
tree68c831223d40a812a6978019eaeccc280ac58390 /src
parente6ffc7b5335d681a5baf88e69f3318be5b1d7924 (diff)
downloadpotracegui-7ae90b80a347267de6f30cd6cf5f956f67e2092e.tar.gz
potracegui-7ae90b80a347267de6f30cd6cf5f956f67e2092e.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> (cherry picked from commit 52aa25b6f791a82b048d818a61a283e57fdcc9ca)
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 2317812..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_QT) -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
-