Mercurial > hg > octave-nkf
changeset 16341:c34f8bb1ebec
build: remove GUI built translation files with distclean target.
* libgui/Makefile.am: Add *.qm GUI translation files to distclean target.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 Mar 2013 10:47:21 -0700 |
parents | 045ce3896e3f |
children | b73b5ab6c277 |
files | libgui/Makefile.am |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/Makefile.am +++ b/libgui/Makefile.am @@ -26,7 +26,7 @@ octlib_LTLIBRARIES = liboctgui.la -translations = \ +TRANSLATIONS = \ languages/be_BY.ts \ languages/de_DE.ts \ languages/en_US.ts \ @@ -36,9 +36,9 @@ languages/ru_RU.ts \ languages/uk_UA.ts -locales = $(patsubst languages/%.ts, languages/%.qm, $(translations)) +LOCALES = $(patsubst languages/%.ts, languages/%.qm, $(TRANSLATIONS)) -EXTRA_DIST = default-qt-settings $(translations) +EXTRA_DIST = default-qt-settings $(TRANSLATIONS) CLEANFILES = BUILT_SOURCES = @@ -81,7 +81,7 @@ octetc_DATA = default-qt-settings -octlocale_DATA = $(locales) +octlocale_DATA = $(LOCALES) moc-%.cc: %.h $(MOC) -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(MOC_CPPFLAGS) $(liboctgui_la_CPPFLAGS) $< @@ -95,3 +95,7 @@ %.qm: %.ts $(MKDIR_P) languages $(LRELEASE) -qm $@ $< + +DISTCLEANFILES = \ + $(LOCALES) +