# SPDX-FileCopyrightText: 2024 Lady # SPDX-License-Identifier: MPL-2.0 SHELL = sh # Copyright © 2024 Lady [@ Ladys Computer]. # # This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. # If a copy of the M·P·L was not distributed with this file, You can obtain one at . xmls := $(wildcard data/*/bibl) $(wildcard data/*/info) $(wildcard data/*/fortunes/*) lint : $(foreach xml,$(xmls),lint][$(xml)) ; $(foreach xml,$(xmls),lint][$(xml)) : lint][% : @xmllint --valid --noout '$*' .PHONY : lint $(foreach xml,$(xmls),lint][$(xml))