mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +00:00
tag: don't build helper programs that generate/update data by default
No point building these by default. Also, these generated files should go into the srcdir, not the builddir in this case, since they're version controlled.
This commit is contained in:
parent
3b2b96bc56
commit
7c1fef18ac
1 changed files with 7 additions and 9 deletions
|
@ -75,26 +75,24 @@ endif
|
|||
# little program that reads iso_639.xml and outputs tables for us as fallback
|
||||
# for when iso-codes are not available (and so we don't have to read the xml
|
||||
# just to map codes)
|
||||
if USE_ISO_CODES
|
||||
ISO_CODE_PROGS = mklangtables
|
||||
mklangtables_SOURCES = mklangtables.c
|
||||
mklangtables_CFLAGS = $(GST_CFLAGS)
|
||||
mklangtables_LDADD = $(GST_LIBS)
|
||||
else
|
||||
ISO_CODE_PROGS =
|
||||
endif
|
||||
|
||||
LICENSE_PROGS = mklicensestables
|
||||
mklicensestables_SOURCES = mklicensestables.c
|
||||
mklicensestables_CFLAGS = $(GST_CFLAGS)
|
||||
mklicensestables_LDADD = $(GST_LIBS)
|
||||
|
||||
noinst_PROGRAMS = $(ISO_CODE_PROGS) $(LICENSE_PROGS)
|
||||
EXTRA_PROGRAMS = mklangtables mklicensestables
|
||||
|
||||
update-isocodes: mklangtables
|
||||
$(builddir)/mklangtables > $(srcdir)/lang-tables.dat && \
|
||||
echo "Updated lang-tables.dat"
|
||||
|
||||
update-licenses: mklicensestables
|
||||
$(builddir)/mklicensestables \
|
||||
--translation-dictionary=$(builddir)/license-translations.dict \
|
||||
> $(builddir)/licenses-tables.dat && \
|
||||
--translation-dictionary=$(srcdir)/license-translations.dict \
|
||||
> $(srcdir)/licenses-tables.dat && \
|
||||
echo "Updated licenses-tables.dat and license-translations.dict"
|
||||
|
||||
#if USE_NLS
|
||||
|
|
Loading…
Reference in a new issue