From da3f97f838f7d90c5e1218f6d257908cffce9597 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 6 Apr 2022 04:50:39 +0300 Subject: [PATCH 26/26] Rename --with-appdatadir as --with-metainfodir See osdn #44096 Signed-off-by: Marko Lindqvist --- client/Makefile.am | 10 +++++----- configure.ac | 8 ++++---- server/Makefile.am | 4 ++-- tools/fcmp/Makefile.am | 10 +++++----- tools/ruledit/Makefile.am | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/client/Makefile.am b/client/Makefile.am index bb8b2d9e57..6dfc6ddd7f 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -4,23 +4,23 @@ GUI_SUBDIRS = desktopfiledir = @DESKTOPDIR@ -appdatafiledir = @APPDATADIR@ +metainfofiledir = @METAINFODIR@ desktopfile_DATA = -appdatafile_DATA = +metainfofile_DATA = if CLIENT_GUI_SDL2 GUI_SUBDIRS += gui-sdl2 desktopfile_DATA += \ org.freeciv.sdl2.desktop -appdatafile_DATA += \ +metainfofile_DATA += \ freeciv-sdl2.appdata.xml endif if CLIENT_GUI_GTK_3_22 GUI_SUBDIRS += gui-gtk-3.22 desktopfile_DATA += \ org.freeciv.gtk322.desktop -appdatafile_DATA += \ +metainfofile_DATA += \ freeciv-gtk3.22.appdata.xml endif if CLIENT_GUI_GTK_4 @@ -30,7 +30,7 @@ if CLIENT_GUI_QT GUI_SUBDIRS += gui-qt desktopfile_DATA += \ org.freeciv.qt.desktop -appdatafile_DATA += \ +metainfofile_DATA += \ freeciv-qt.appdata.xml endif if CLIENT_GUI_STUB diff --git a/configure.ac b/configure.ac index e4989bba72..2d3662b162 100644 --- a/configure.ac +++ b/configure.ac @@ -384,10 +384,10 @@ AC_ARG_WITH([desktopdir], [ DESKTOPDIR=${withval} ], [ DESKTOPDIR="\$(prefix)/share/applications" ]) AC_SUBST([DESKTOPDIR]) -AC_ARG_WITH([appdatadir], - AS_HELP_STRING([--with-appdatadir], [install appdata files to given dir]), -[ APPDATADIR=${withval} ], [ APPDATADIR="\$(prefix)/share/metainfo" ]) -AC_SUBST([APPDATADIR]) +AC_ARG_WITH([metainfodir], + AS_HELP_STRING([--with-metainfodir], [install metainfo files to given dir]), +[ METAINFODIR=${withval} ], [ METAINFODIR="\$(prefix)/share/metainfo" ]) +AC_SUBST([METAINFODIR]) dnl try to support this development version's previous save games formats AC_ARG_ENABLE([dev-save-compat], diff --git a/server/Makefile.am b/server/Makefile.am index a3db4a4244..a6a8a1b5b6 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -186,6 +186,6 @@ desktopfiledir = @DESKTOPDIR@ desktopfile_DATA = \ org.freeciv.server.desktop -appdatafiledir = @APPDATADIR@ -appdatafile_DATA = \ +metainfofiledir = @METAINFODIR@ +metainfofile_DATA = \ freeciv-server.appdata.xml diff --git a/tools/fcmp/Makefile.am b/tools/fcmp/Makefile.am index 5502f39816..fef6ba4c76 100644 --- a/tools/fcmp/Makefile.am +++ b/tools/fcmp/Makefile.am @@ -43,27 +43,27 @@ else desktopfiledir = @DESKTOPDIR@ desktopfile_DATA = -appdatafiledir = @APPDATADIR@ -appdatafile_DATA = +metainfofiledir = @METAINFODIR@ +metainfofile_DATA = if MODINST_GTK3 desktopfile_DATA += \ org.freeciv.mp.gtk3.desktop -appdatafile_DATA += \ +metainfofile_DATA += \ freeciv-mp-gtk3.appdata.xml endif if MODINST_GTK4 desktopfile_DATA += \ org.freeciv.mp.gtk4.desktop -appdatafile_DATA += \ +metainfofile_DATA += \ freeciv-mp-gtk4.appdata.xml endif if MODINST_QT desktopfile_DATA += \ org.freeciv.mp.qt.desktop -appdatafile_DATA += \ +metainfofile_DATA += \ freeciv-mp-qt.appdata.xml endif diff --git a/tools/ruledit/Makefile.am b/tools/ruledit/Makefile.am index 477a324df1..a85f8c116e 100644 --- a/tools/ruledit/Makefile.am +++ b/tools/ruledit/Makefile.am @@ -10,8 +10,8 @@ endif desktopfiledir = @DESKTOPDIR@ desktopfile_DATA = org.freeciv.ruledit.desktop -appdatafiledir = @APPDATADIR@ -appdatafile_DATA = freeciv-ruledit.appdata.xml +metainfofiledir = @METAINFODIR@ +metainfofile_DATA = freeciv-ruledit.appdata.xml bin_PROGRAMS = freeciv-ruledit -- 2.35.1