mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 17:01:00 +01:00

automatically added to the set of languages to be built and installed unless they are explicitly added to the set of disabled translations. This eliminates the need to manually add a lang to the Makefile when a new translation is submitted (svn add will still be necessary).
21 lines
764 B
Makefile
21 lines
764 B
Makefile
# $Id$
|
|
# ----------------------------------------------------------------------
|
|
# Copyright (c) 2004, 2005 NOVELL (All rights reserved)
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
# License published by the Free Software Foundation.
|
|
# ----------------------------------------------------------------------
|
|
all:
|
|
|
|
# As translations get added, they will automatically be included, unless
|
|
# the lang is explicitly added to DISABLED_LANGS; e.g. DISABLED_LANGS=en es
|
|
|
|
DISABLED_LANGS=
|
|
|
|
include ../common/Make-po.rules
|
|
../common/Make-po.rules:
|
|
make -C .. common/Make.rules
|
|
|
|
XGETTEXT_ARGS+=--language=C --keyword=_ $(shell if [ -f ${NAME}.pot ] ; then echo -n -j ; fi)
|
|
|