Adding upstream version 0.4.0.
[debian/lxappearance.git] / Makefile.am
1 NULL=
2
3 SUBDIRS = src po man
4
5 ui_in_files= \
6         data/lxappearance.glade \
7         data/demo.glade \
8         $(NULL)
9 uidir=$(datadir)/lxappearance
10 ui_DATA = $(ui_in_files:.glade=.ui)
11
12 %.ui: %.glade
13         cp $< $@
14
15 support_scriptdir=$(datadir)/lxappearance
16 support_script_DATA= \
17         scripts/install-icon-theme.sh \
18         $(NULL)
19
20 desktopdir=$(datadir)/applications
21 desktop_in_files=lxappearance.desktop.in
22 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
23 @INTLTOOL_DESKTOP_RULE@
24
25 install-data-hook:
26         for script in $(DESTDIR)$(support_scriptdir)/*.sh; do \
27             chmod +x $$script; \
28         done
29
30 EXTRA_DIST = \
31         autogen.sh \
32         $(ui_DATA) \
33         $(support_script_DATA) \
34         $(desktop_DATA) \
35         $(NULL)
36