3 if CREATE_RULES_SYMLINK
4 dnl extra_rules_file = $(xkb_rules_symlink)
5 dnl extra_dir_file = $(extra_rules_file).xml
6 dnl extra_lst_file = $(extra_rules_file).lst
9 for file in `echo "$(xkb_rules_symlink)" | sed 's/,/ /'` ; do \
10 extra_rules_file=$$file ; \
11 extra_dir_file=$$extra_rules_file.xml ; \
12 extra_lst_file=$$extra_rules_file.lst ; \
13 ln -sf base $(DESTDIR)$(rulesdir)/$$extra_rules_file ; \
14 ln -sf base.lst $(DESTDIR)$(rulesdir)/$$extra_lst_file ; \
15 ln -sf base.xml $(DESTDIR)$(rulesdir)/$$extra_dir_file ; \
24 base_parts = base.hdr.part base.lists.part \
25 compat/base.lists.part \
26 HDR base.m_k.part HDR base.l1_k.part HDR base.l_k.part \
28 HDR compat/base.mlv_s.part base.mlv_s.part \
29 HDR compat/base.ml_s.part base.ml_s.part \
30 HDR compat/base.ml1_s.part base.ml1_s.part \
31 HDR compat/base.ml1v1_s.part \
32 HDR compat/base.l2_s.part base.l2_s.part \
33 HDR compat/base.l3_s.part base.l3_s.part \
34 HDR compat/base.l4_s.part base.l4_s.part \
35 HDR compat/base.l2v2_s.part \
36 HDR compat/base.l3v3_s.part \
37 HDR compat/base.l4v4_s.part \
38 HDR base.m_s.part HDR base.ml_c.part HDR base.ml1_c.part \
40 HDR base.lo_s.part HDR base.l1o_s.part HDR base.l2o_s.part HDR base.l3o_s.part HDR base.l4o_s.part \
41 HDR compat/base.o_s.part base.o_s.part \
42 HDR base.o_c.part HDR base.o_t.part
44 base_parts = base.hdr.part base.lists.part \
45 HDR base.m_k.part HDR base.l1_k.part HDR base.l_k.part \
46 HDR base.m_g.part HDR base.mlv_s.part HDR base.ml_s.part \
47 HDR base.ml1_s.part HDR \
48 HDR base.l2_s.part HDR base.l3_s.part HDR base.l4_s.part HDR HDR HDR \
49 HDR base.m_s.part HDR base.ml_c.part HDR base.ml1_c.part \
51 HDR base.l1o_s.part HDR base.l2o_s.part HDR base.l3o_s.part HDR base.l4o_s.part \
52 HDR base.o_s.part HDR base.o_c.part HDR base.o_t.part
55 rules_files = base sgi sun xfree98
60 perl $(srcdir)/xml2lst.pl < $< > $@
63 HDR="$(srcdir)/HDR" $(srcdir)/merge.sh $@ $+
65 all_rules_files = $(rules_files) $(lst_files) \
68 rules_DATA = $(all_rules_files)
70 xml_in_files = base.xml.in
71 xml_DATA = $(xml_in_files:.xml.in=.xml)
73 EXTRA_DIST= $(all_rules_files) $(xml_in_files) $(base_parts) xml2lst.pl merge.sh
75 DISTCLEANFILES=base.xml
77 rulesdir = $(xkb_base)/rules