updating the build process
[xorg/xkeyboard-config] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 SUBDIRS = compat geometry keycodes keymap po rules semantics symbols types docs
4
5 EXTRA_DIST=config.rpath COPYING CREDITS README \
6        autogen.sh \
7        xkeyboard-config.spec \
8        xkeyboard-config.spec.in \
9        intltool-extract.in intltool-merge.in intltool-update.in
10
11 DISTCLEANFILES=intltool-extract intltool-merge intltool-update
12
13 dnl ACLOCAL_AMFLAGS = -I m4
14
15 if CREATE_XKBCOMP_SYMLINK
16 install-data-hook:
17         ln -sf ../../../bin/xkbcomp $(DESTDIR)$(xkb_base)/xkbcomp
18         rm -f $(DESTDIR)$(xkb_base)/compiled
19         ln -sf /var/lib/xkb $(DESTDIR)$(xkb_base)/compiled
20 else
21 install-data-hook:
22         rm -f $(DESTDIR)$(xkb_base)/compiled
23         ln -sf /var/lib/xkb $(DESTDIR)$(xkb_base)/compiled
24
25 endif