__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# appdata-xml.m4
#
# serial 5
dnl APPDATA_XML
dnl Installs and validates AppData XML files.
dnl
dnl Call APPDATA_XML in configure.ac to check for the appdata-validate tool.
dnl Add @APPDATA_XML_RULES@ to a Makefile.am to substitute the make rules. Add
dnl .appdata.xml files to appdata_XML in Makefile.am and they will be validated
dnl at make check time, if appdata-validate is installed, as well as installed
dnl to the correct location automatically. Add --enable-appdata-validate to
dnl DISTCHECK_CONFIGURE_FLAGS in Makefile.am to require valid AppData XML when
dnl doing a distcheck.
dnl
dnl Adding files to appdata_XML does not distribute them automatically.
AU_DEFUN([APPDATA_XML],
[
m4_pattern_allow([AM_V_GEN])
AC_ARG_ENABLE([appdata-validate],
[AS_HELP_STRING([--disable-appdata-validate],
[Disable validating AppData XML files during check phase])])
AS_IF([test "x$enable_appdata_validate" != "xno"],
[AC_PATH_PROG([APPSTREAM_UTIL], [appstream-util])
AS_IF([test "x$APPSTREAM_UTIL" = "x"],
[have_appdata_validate=no],
[have_appdata_validate=yes
AC_SUBST([APPSTREAM_UTIL])])],
[have_appdata_validate=no])
AS_IF([test "x$have_appdata_validate" != "xno"],
[appdata_validate=yes],
[appdata_validate=no
AS_IF([test "x$enable_appdata_validate" = "xyes"],
[AC_MSG_ERROR([AppData validation was requested but appstream-util was not found])])])
AC_SUBST([appdataxmldir], [${datadir}/metainfo])
APPDATA_XML_RULES='
.PHONY : uninstall-appdata-xml install-appdata-xml clean-appdata-xml
mostlyclean-am: clean-appdata-xml
%.appdata.valid: %.appdata.xml
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \
if test -n "$(APPSTREAM_UTIL)"; \
then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \
&& touch [$]@
check-am: $(appdata_XML:.appdata.xml=.appdata.valid)
uninstall-am: uninstall-appdata-xml
install-data-am: install-appdata-xml
.SECONDARY: $(appdata_XML)
install-appdata-xml: $(appdata_XML)
@$(NORMAL_INSTALL)
if test -n "$^"; then \
test -z "$(appdataxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appdataxmldir)"; \
$(INSTALL_DATA) $^ "$(DESTDIR)$(appdataxmldir)"; \
fi
uninstall-appdata-xml:
@$(NORMAL_UNINSTALL)
@list='\''$(appdata_XML)'\''; test -n "$(appdataxmldir)" || list=; \
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
test -n "$$files" || exit 0; \
echo " ( cd '\''$(DESTDIR)$(appdataxmldir)'\'' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(appdataxmldir)" && rm -f $$files
clean-appdata-xml:
rm -f $(appdata_XML:.appdata.xml=.appdata.valid)
'
_APPDATA_XML_SUBST(APPDATA_XML_RULES)
],
[Use the new APPSTREAM_XML macro instead of APPDATA_XML in configure.ac, and
replace @APPDATA_XML_RULES@ with @APPSTREAM_XML_RULES@, appdata_XML with
appstream_XML and --enable-appdata-validate with --enable-appstream-validate
in Makefile.am])
dnl _APPDATA_XML_SUBST(VARIABLE)
dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
AC_DEFUN([_APPDATA_XML_SUBST],
[
AC_SUBST([$1])
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
]
)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| appdata-xml.m4 | File | 3.11 KB | 0644 |
|
| appstream-xml.m4 | File | 2.94 KB | 0644 |
|
| expat.m4 | File | 1.41 KB | 0644 |
|
| gettext.m4 | File | 14.15 KB | 0644 |
|
| glib-2.0.m4 | File | 8.17 KB | 0644 |
|
| glib-gettext.m4 | File | 15.38 KB | 0644 |
|
| gpg-error.m4 | File | 7.98 KB | 0644 |
|
| gpgrt.m4 | File | 3.99 KB | 0644 |
|
| gsettings.m4 | File | 3.5 KB | 0644 |
|
| gtk-3.0.m4 | File | 8.03 KB | 0644 |
|
| host-cpu-c-abi.m4 | File | 21.91 KB | 0644 |
|
| iconv.m4 | File | 9.5 KB | 0644 |
|
| intlmacosx.m4 | File | 3.15 KB | 0644 |
|
| introspection.m4 | File | 5.01 KB | 0644 |
|
| lib-ld.m4 | File | 5.24 KB | 0644 |
|
| lib-link.m4 | File | 33.99 KB | 0644 |
|
| lib-prefix.m4 | File | 11.66 KB | 0644 |
|
| libcurl.m4 | File | 10.91 KB | 0644 |
|
| libgcrypt.m4 | File | 6.1 KB | 0644 |
|
| libtool.m4 | File | 299.49 KB | 0644 |
|
| libxml2.m4 | File | 7.72 KB | 0644 |
|
| ltargz.m4 | File | 2.51 KB | 0644 |
|
| ltdl.m4 | File | 29.34 KB | 0644 |
|
| ltoptions.m4 | File | 14.17 KB | 0644 |
|
| ltsugar.m4 | File | 4.28 KB | 0644 |
|
| ltversion.m4 | File | 699 B | 0644 |
|
| lt~obsolete.m4 | File | 6 KB | 0644 |
|
| mm-ax_cxx_compile_stdcxx.m4 | File | 19.1 KB | 0644 |
|
| mm-ax_cxx_compile_stdcxx_11.m4 | File | 5.66 KB | 0644 |
|
| mm-common.m4 | File | 1.64 KB | 0644 |
|
| mm-dietlib.m4 | File | 4.57 KB | 0644 |
|
| mm-doc.m4 | File | 10.27 KB | 0644 |
|
| mm-module.m4 | File | 3.25 KB | 0644 |
|
| mm-pkg.m4 | File | 3.87 KB | 0644 |
|
| mm-warnings.m4 | File | 4.56 KB | 0644 |
|
| nls.m4 | File | 1.21 KB | 0644 |
|
| nspr.m4 | File | 2.76 KB | 0644 |
|
| pkg.m4 | File | 10.01 KB | 0644 |
|
| po.m4 | File | 18.39 KB | 0644 |
|
| progtest.m4 | File | 3.02 KB | 0644 |
|
| vala.m4 | File | 4.46 KB | 0644 |
|
| vapigen.m4 | File | 3.4 KB | 0644 |
|
| wayland-scanner.m4 | File | 428 B | 0644 |
|
| xtrans.m4 | File | 6.38 KB | 0644 |
|