# disfluid, implementation of the Solid specification # Copyright (C) 2020, 2021 Vivien Kraus # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . lib_LTLIBRARIES = libexec_PROGRAMS = noinst_LTLIBRARIES = noinst_PROGRAMS = EXTRA_DIST = BUILT_SOURCES = DISTCHECK_CONFIGURE_FLAGS = CONFIG_SHELL=$(CONFIG_SHELL) SHELL=$(SHELL) \ --enable-indent-check=yes SUFFIXES = SUBDIRS = vapigen . po man ACLOCAL_AMFLAGS = -I m4 AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -I. -I$(srcdir) AM_CFLAGS = $(GUILE_CFLAGS) $(NETTLE_CFLAGS) AM_VALAFLAGS = nodist_noinst_SCRIPTS = pre-inst-env dist_bin_SCRIPTS = libexec_SCRIPTS = INDENTED = include_HEADERS = include src/Makefile.am include doc/Makefile.am include tests/Makefile.am include icons.am include settings.am include meson.am EXTRA_DIST += \ $(top_srcdir)/.version \ $(top_srcdir)/.release-date \ $(srcdir)/config.vapi BUILT_SOURCES += $(top_srcdir)/.version $(top_srcdir)/.release-date $(top_srcdir)/.version: echo $(VERSION) > $@-t @mv $@-t $@ $(top_srcdir)/.release-date: echo $(RELEASE_DATE) > $@-t @mv $@-t $@ dist-hook: echo $(VERSION) > $(distdir)/.tarball-version echo $(RELEASE_DATE) > $(distdir)/.tarball-release-date .PHONY: check-indented check-indented: $(INDENTED) for source in $(INDENTED) ; do \ echo "Checking that $$source is indented..." ; \ (mkdir -p $$(dirname $$source-indented) \ && $(INDENT) $(srcdir)/$$source -o $$source-indented \ && cmp $(srcdir)/$$source $$source-indented \ && rm -f $$source-indented) \ || exit 1 ; \ done if INDENT_CHECK_ENABLED check-local: check-indented endif clean-local: rm -rf xdg-cache-home