aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2023-06-19 21:20:13 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2023-06-19 21:20:13 +0300
commit75533443ecae81d6861bdc1402a0e4b271838979 (patch)
treefb4c8940bcc82d0b397ed31af849b92b000b3bd0
parent60a09132b62c3cae86f5e832830a4490ba5bf712 (diff)
downloadsciteco-75533443ecae81d6861bdc1402a0e4b271838979.tar.gz
distribute sciteco.desktop
* Useful for packaging on platforms where we can only build from tarballs (FreeBSD) * I don't know whether it's always safe and correct to install this file into $DATADIR/applications, so the file is only distributed but not installed yet. * It contains a hardcoded binary name "gsciteco". This could actually differ depending on the concrete --program-prefix and it would be good to include the exact installation path. This however is not possible as long as we do not install this file.
-rwxr-xr-xdebian/sciteco-gtk.install3
-rw-r--r--src/Makefile.am4
-rw-r--r--src/sciteco.desktop (renamed from debian/sciteco.desktop)0
3 files changed, 3 insertions, 4 deletions
diff --git a/debian/sciteco-gtk.install b/debian/sciteco-gtk.install
index 303187c..8907904 100755
--- a/debian/sciteco-gtk.install
+++ b/debian/sciteco-gtk.install
@@ -12,5 +12,4 @@ ico/sciteco-32.png => usr/share/icons/hicolor/32x32/apps/sciteco.png
ico/sciteco-48.png => usr/share/icons/hicolor/48x48/apps/sciteco.png
ico/sciteco-256.png => usr/share/icons/hicolor/256x256/apps/sciteco.png
-# Not currently part of source tree:
-debian/sciteco.desktop usr/share/applications
+src/sciteco.desktop => usr/share/applications
diff --git a/src/Makefile.am b/src/Makefile.am
index f1f073e..b9aca8a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,8 +25,8 @@ BUILT_SOURCES =
dist_noinst_SCRIPTS = symbols-extract.tes
-# Emscripten HTML page:
-EXTRA_DIST = sciteco.html
+# Emscripten HTML page and Unix desktop file:
+EXTRA_DIST = sciteco.html sciteco.desktop
noinst_LTLIBRARIES = libsciteco-base.la
libsciteco_base_la_SOURCES = main.c sciteco.h list.h \
diff --git a/debian/sciteco.desktop b/src/sciteco.desktop
index f2fbd0e..f2fbd0e 100644
--- a/debian/sciteco.desktop
+++ b/src/sciteco.desktop