mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-03 09:29:43 +00:00
2a274be95e
Monotone-Revision: 0cbd4a9c5bf491a238af8827cc1200efcd8577d6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-03T18:38:12 Monotone-Branch: ca.inverse.sogo
26 lines
400 B
Makefile
26 lines
400 B
Makefile
# GNUstep makefile
|
|
|
|
XMLLINT = xmllint
|
|
XMLLINT-BIN = $(shell which $(XMLLINT))
|
|
ifeq ($(XMLLINT-BIN),)
|
|
all ::
|
|
@echo Utility \"$(XMLLINT)\" not found. Skipping validation.
|
|
else
|
|
all :: validate-wox
|
|
endif
|
|
|
|
WOXS = $(shell find . -name '*.wox' -type f)
|
|
|
|
validate-wox:
|
|
for wox in $(WOXS); \
|
|
do $(XMLLINT-BIN) --noout $$wox || exit 1; \
|
|
done;
|
|
|
|
install :: all
|
|
|
|
clean ::
|
|
|
|
distclean :: clean
|
|
|
|
uninstall ::
|