EXTRA_DIST = acorn.xml werewolf.xml

MASON_RULES = animals.xml basic.xml buildings.xml characters.xml clothing.xml \
              construction.xml food.xml mason.xml operations.xml plants.xml \
              tasks.xml terrain.xml tools.xml weapons.xml

confdir = $(sysconfdir)/cyphesis
dist_conf_DATA = cyphesis.vconf

rulesetdir = $(sysconfdir)/cyphesis/mason.d
dist_ruleset_DATA = $(MASON_RULES)

confbackupdir = $(datadir)/doc/cyphesis-$(VERSION)/conf
confbackup_DATA = cyphesis.vconf $(MASON_RULES) acorn.xml werewolf.xml

check-local:
	@for rule in $(MASON_RULES) ; do \
	  echo $(XMLLINT) -noout $(srcdir)/$$rule; \
	  $(XMLLINT) -noout $(srcdir)/$$rule; \
	done;


syntax highlighted by Code2HTML, v. 0.9.1