sogo/UI/Templates/GNUmakefile
Wolfgang Sourdeau 2a274be95e Monotone-Parent: e57eef2a82bd3537f98500a9eb2ad3d89658813b
Monotone-Revision: 0cbd4a9c5bf491a238af8827cc1200efcd8577d6

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-05-03T18:38:12
Monotone-Branch: ca.inverse.sogo
2007-05-03 18:38:12 +00:00

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 ::