summaryrefslogtreecommitdiff
path: root/desktop-themes/ContrastHigh/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-themes/ContrastHigh/Makefile.am')
-rw-r--r--desktop-themes/ContrastHigh/Makefile.am17
1 files changed, 10 insertions, 7 deletions
diff --git a/desktop-themes/ContrastHigh/Makefile.am b/desktop-themes/ContrastHigh/Makefile.am
index 250686b4..12126009 100644
--- a/desktop-themes/ContrastHigh/Makefile.am
+++ b/desktop-themes/ContrastHigh/Makefile.am
@@ -1,12 +1,15 @@
-THEME_NAME=ContrastHigh
-THEME_IN_FILES=index.theme.in
+THEME_NAME = ContrastHigh
themedir = $(datadir)/themes/$(THEME_NAME)
+theme_in_files = index.theme.in
+theme_DATA = $(theme_in_files:.theme.in=.theme)
-theme_DATA = index.theme
-
-$(theme_DATA): $(THEME_IN_FILES)
+%.theme: %.theme.in
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp -f $< $@
+endif
-DISTCLEANFILES = index.theme
-EXTRA_DIST = index.theme.in
+CLEANFILES = index.theme
+EXTRA_DIST = $(theme_in_files)