Use .glade file names and compress them into .ui purging spaces.
[lxde/lxappearance.git] / data / ui / Makefile.am
CommitLineData
0cd84ed6
HJYP
1NULL=
2
3# GtkBuilder UI definition files
3a7d812e 4uidir=$(datadir)/lxappearance/ui
0cd84ed6 5ui_in_files= \
7f0236eb
AG
6 about.glade \
7 lxappearance.glade \
0cd84ed6 8 $(NULL)
7f0236eb
AG
9ui_DATA = $(ui_in_files:.glade=.ui)
10
11# Purge GtkBuilder UI files
12.glade.ui:
13 sed 's/<!--.*-->//' < $< | sed ':a;N;$$!ba;s/ *\n *</</g' > $@
0cd84ed6
HJYP
14
15EXTRA_DIST= \
16 $(ui_DATA) \
7f0236eb 17 $(ui_in_files) \
0cd84ed6 18 $(NULL)