aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-12-23 04:07:44 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-12-23 04:07:44 +0300
commite5d1253d363a209ecd1288278808e38ac87b34d9 (patch)
tree72b1b57e66468e122f5d2a4f3b56abe7a7ccca94 /Makefile.am
parent2a23325617c01f170bdacb25f2777aa9f4f6ef14 (diff)
downloadsciteco-e5d1253d363a209ecd1288278808e38ac87b34d9.tar.gz
Curses: don't install PNG icons
* They are used at runtime only by the GTK port. * Their existence can cause problems if OS-specific build systems have to clean these files from the staging directory afterwards. This was the case on FreeBSD where the committer refused to remove these files after installation. In the official FreeBSD port, we therefore currently ship the PNG icons unnecessarily. * They are now installed and shipped only on GTK builds.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 3375ce8..c9ba183 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,11 +11,13 @@ dist_scitecodata_DATA = sample.teco_ini
EXTRA_DIST = README TODO
+if INTERFACE_GTK
# Only the lower resolution PNG icons are installed as they are
# required by the GTK UI.
-# Other uses are left to the distro package manager.
+# Other icons might be required for OS/distro-specific packaging.
dist_scitecodata_DATA += ico/sciteco-16.png ico/sciteco-32.png \
ico/sciteco-48.png
+endif
EXTRA_DIST += ico/sciteco-256.png ico/sciteco.ico
EXTRA_DIST += win32/loaders.cache