mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-14 01:38:51 +00:00
Monotone-Parent: e57eef2a82bd3537f98500a9eb2ad3d89658813b
Monotone-Revision: 0cbd4a9c5bf491a238af8827cc1200efcd8577d6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-03T18:38:12 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
# GNUstep makefile
|
||||
|
||||
XMLLINT = $(shell which xmllint)
|
||||
ifeq ($(XMLLINT),)
|
||||
XMLLINT = /bin/true
|
||||
XMLLINT = xmllint
|
||||
XMLLINT-BIN = $(shell which $(XMLLINT))
|
||||
ifeq ($(XMLLINT-BIN),)
|
||||
all ::
|
||||
@echo Utility \"$(XMLLINT)\" not found. Skipping validation.
|
||||
else
|
||||
all :: validate-wox
|
||||
endif
|
||||
|
||||
validate-wox:
|
||||
$(XMLLINT) --noout *.wox
|
||||
WOXS = $(shell find . -name '*.wox' -type f)
|
||||
|
||||
all :: validate-wox
|
||||
validate-wox:
|
||||
for wox in $(WOXS); \
|
||||
do $(XMLLINT-BIN) --noout $$wox || exit 1; \
|
||||
done;
|
||||
|
||||
install :: all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user