2006-06-15 21:34:10 +02:00
|
|
|
# GNUstep makefile
|
|
|
|
|
2007-05-03 20:38:12 +02:00
|
|
|
XMLLINT = xmllint
|
|
|
|
XMLLINT-BIN = $(shell which $(XMLLINT))
|
|
|
|
ifeq ($(XMLLINT-BIN),)
|
|
|
|
all ::
|
|
|
|
@echo Utility \"$(XMLLINT)\" not found. Skipping validation.
|
|
|
|
else
|
|
|
|
all :: validate-wox
|
2007-05-03 17:13:16 +02:00
|
|
|
endif
|
|
|
|
|
2007-05-03 20:38:12 +02:00
|
|
|
WOXS = $(shell find . -name '*.wox' -type f)
|
2006-06-15 21:34:10 +02:00
|
|
|
|
2007-05-03 20:38:12 +02:00
|
|
|
validate-wox:
|
|
|
|
for wox in $(WOXS); \
|
|
|
|
do $(XMLLINT-BIN) --noout $$wox || exit 1; \
|
|
|
|
done;
|
2006-06-15 21:34:10 +02:00
|
|
|
|
|
|
|
install :: all
|
|
|
|
|
|
|
|
clean ::
|
|
|
|
|
|
|
|
distclean :: clean
|
2006-10-27 20:12:34 +02:00
|
|
|
|
|
|
|
uninstall ::
|