update autotools with translations relocation

This commit is contained in:
Guilherme Brondani Torri 2014-11-11 19:10:35 +01:00
parent f100eb3e4a
commit abbd7371f2
4 changed files with 7 additions and 5 deletions

View File

@ -37,6 +37,7 @@ SUBDIRS = \
qucs-lib \
qucs-rescodes \
qucs-transcalc \
translations \
contrib \
$(FILTERV2) \
$(RELEASEDIRS)

View File

@ -814,7 +814,7 @@ AC_CONFIG_FILES([Makefile
qucs/diagrams/Makefile
qucs/paintings/Makefile
qucs/dialogs/Makefile
qucs/translations/Makefile])
translations/Makefile])
# The incomplete filter-v2 only builds withs -stdlib=libstc++
# OSX defaults to libstc++. Skip filter-v2 on Darwin.

View File

@ -22,7 +22,7 @@
# Boston, MA 02110-1301, USA.
#
SUBDIRS = components diagrams paintings dialogs octave translations
SUBDIRS = components diagrams paintings dialogs octave
if COND_WIN32
bin_SCRIPTS = qucsdigi.bat qucsveri.bat qucsdigilib.bat
@ -79,13 +79,12 @@ desktopdir = ${prefix}/share/applications
desktop_DATA = qucs.desktop
EXTRA_DIST = $(TRANSLATIONS) $(GENTRANSLATIONS) README.translations \
EXTRA_DIST = \
qucsdigi qucsdigilib qucsdigi.bat qucsdigilib.bat qucsveri qucsveri.bat \
$(hicolor16_DATA) $(hicolor22_DATA) $(hicolor32_DATA) $(hicolor48_DATA) \
$(hicolor64_DATA) $(hicolor128_DATA) $(hicolor256_DATA) $(hicolor512_DATA) \
$(hicolorsc_DATA) $(desktop_DATA)
all-local: $(TRANSLATIONS) $(TRANSFILES)
.h.moc.cpp:
$(MOC) -o $@ $<

View File

@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
#
# qucs/translations/Makefile.am
# translations/Makefile.am
#
# Automake input file.
#
@ -27,11 +27,13 @@ TRANSLATIONS = qucs_de.ts qucs_pl.ts qucs_fr.ts qucs_it.ts qucs_ro.ts \
qucs_pt_BR.ts qucs_pt_PT.ts qucs_es.ts qucs_jp.ts qucs_hu.ts qucs_he.ts \
qucs_sv.ts qucs_tr.ts qucs_uk.ts qucs_ru.ts qucs_cs.ts qucs_ca.ts \
qucs_ar.ts qucs_kk.ts
GENTRANSLATIONS = qtgeneric_untranslated.ts qtgeneric_de.ts qtgeneric_fr.ts \
qtgeneric_es.ts qtgeneric_ro.ts qtgeneric_jp.ts qtgeneric_hu.ts \
qtgeneric_it.ts qtgeneric_he.ts qtgeneric_sv.ts qtgeneric_pl.ts \
qtgeneric_tr.ts qtgeneric_uk.ts qtgeneric_ru.ts qtgeneric_cs.ts \
qtgeneric_ca.ts qtgeneric_ar.ts qtgeneric_kk.ts
TRANSFILES = $(TRANSLATIONS:.ts=.qm)
qucs_.ts: $(qucs_SOURCES)