3 if CREATE_RULES_SYMLINK
4 # extra_rules_file = $(xkb_rules_symlink)
5 # extra_dir_file = $(extra_rules_file).xml
6 # 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 \
27 HDR base.l_k.part HDR base.o_k.part \
29 HDR compat/base.mlv_s.part base.mlv_s.part \
30 HDR compat/base.ml_s.part base.ml_s.part \
31 HDR compat/base.ml1_s.part base.ml1_s.part \
32 HDR compat/base.ml1v1_s.part \
33 HDR compat/base.l2_s.part base.l2_s.part \
34 HDR compat/base.l3_s.part base.l3_s.part \
35 HDR compat/base.l4_s.part base.l4_s.part \
36 HDR compat/base.l2v2_s.part \
37 HDR compat/base.l3v3_s.part \
38 HDR compat/base.l4v4_s.part \
39 HDR base.m_s.part HDR base.ml_c.part HDR base.ml1_c.part \
41 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 \
42 HDR compat/base.o_s.part base.o_s.part \
43 HDR base.o_c.part HDR base.o_t.part
45 base_parts = base.hdr.part base.lists.part \
46 HDR base.m_k.part HDR base.l1_k.part HDR base.l_k.part \
47 HDR base.m_g.part HDR base.mlv_s.part HDR base.ml_s.part \
48 HDR base.ml1_s.part HDR \
49 HDR base.l2_s.part HDR base.l3_s.part HDR base.l4_s.part HDR HDR HDR \
50 HDR base.m_s.part HDR base.ml_c.part HDR base.ml1_c.part \
52 HDR base.l1o_s.part HDR base.l2o_s.part HDR base.l3o_s.part HDR base.l4o_s.part \
53 HDR base.o_s.part HDR base.o_c.part HDR base.o_t.part
56 rules_files = base sgi sun xfree98
61 perl $(srcdir)/xml2lst.pl < $< > $@
64 HDR="$(srcdir)/HDR" $(srcdir)/merge.sh $@ $+
66 all_rules_files = $(rules_files) $(lst_files) \
69 rules_DATA = $(all_rules_files)
71 xml_in_files = base.xml.in sun.xml.in
72 xml_DATA = $(xml_in_files:.xml.in=.xml)
74 EXTRA_DIST= $(all_rules_files) $(xml_in_files) $(base_parts) xml2lst.pl merge.sh
76 DISTCLEANFILES=base.xml base.lst sun.xml
78 rulesdir = $(xkb_base)/rules