Adding upstream version 0.4.0.
[debian/lxappearance.git] / Makefile.am
index 0ef4a0b..ca014cc 100644 (file)
@@ -1,10 +1,21 @@
-## Process this file with automake to produce Makefile.in
+NULL=
 
 SUBDIRS = src po man
 
+ui_in_files= \
+       data/lxappearance.glade \
+       data/demo.glade \
+       $(NULL)
+uidir=$(datadir)/lxappearance
+ui_DATA = $(ui_in_files:.glade=.ui)
+
+%.ui: %.glade
+       cp $< $@
+
 support_scriptdir=$(datadir)/lxappearance
 support_script_DATA= \
-        scripts/install-icon-theme.sh
+        scripts/install-icon-theme.sh \
+        $(NULL)
 
 desktopdir=$(datadir)/applications
 desktop_in_files=lxappearance.desktop.in
@@ -18,5 +29,8 @@ install-data-hook:
 
 EXTRA_DIST = \
        autogen.sh \
+       $(ui_DATA) \
        $(support_script_DATA) \
-       $(desktop_DATA)
+       $(desktop_DATA) \
+       $(NULL)
+