mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
gnulib-tool.py: follow gnulib-tool changes, part 3
Follow gnulib-tool change 2012-08-26 Bruno Haible <bruno@clisp.org> gnulib-tool: Remove no-op option --no-changelog. * pygnulib/constants.py: Remove FILES dictionary. * pygnulib/*: Update.
This commit is contained in:
+1
-2
@@ -44,7 +44,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
@@ -213,7 +212,7 @@ def main():
|
||||
dest='mode_xmaintainer',
|
||||
default=None,
|
||||
nargs='*')
|
||||
# no-changelog
|
||||
# no-changelog: a no-op for backward compatibility
|
||||
parser.add_argument('--no-changelog',
|
||||
dest='changelog',
|
||||
default=None,
|
||||
|
||||
@@ -32,7 +32,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
|
||||
@@ -38,7 +38,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
|
||||
@@ -29,7 +29,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
|
||||
@@ -33,7 +33,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
|
||||
@@ -41,7 +41,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
|
||||
@@ -30,7 +30,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
@@ -270,7 +269,6 @@ Options for --import, --add/remove-import:
|
||||
--vc-files Update version control related files.
|
||||
--no-vc-files Don't update version control related files
|
||||
(.gitignore and/or .cvsignore).
|
||||
--no-changelog Don't update or create ChangeLog files.
|
||||
|
||||
Options for --create-[mega]testdir, --[mega]test:
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
|
||||
@@ -33,7 +33,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
|
||||
@@ -41,7 +41,6 @@ APP = constants.APP
|
||||
DIRS = constants.DIRS
|
||||
ENCS = constants.ENCS
|
||||
UTILS = constants.UTILS
|
||||
FILES = constants.FILES
|
||||
MODES = constants.MODES
|
||||
TESTS = constants.TESTS
|
||||
compiler = constants.compiler
|
||||
|
||||
@@ -59,7 +59,6 @@ APP = dict() # Application
|
||||
DIRS = dict() # Directories
|
||||
UTILS = dict() # Utilities
|
||||
ENCS = dict() # Encodings
|
||||
FILES = dict() # Files
|
||||
MODES = dict() # Modes
|
||||
TESTS = dict() # Tests
|
||||
NL = '''
|
||||
@@ -105,9 +104,6 @@ DIRS['tests'] = os.path.join(DIRS['root'], 'tests')
|
||||
DIRS['git'] = os.path.join(DIRS['root'], '.git')
|
||||
DIRS['cvs'] = os.path.join(DIRS['root'], 'CVS')
|
||||
|
||||
# Set FILES dictionary
|
||||
FILES['changelog'] = os.path.join(DIRS['root'], 'ChangeLog')
|
||||
|
||||
# Set MODES dictionary
|
||||
MODES = \
|
||||
{
|
||||
@@ -449,4 +445,4 @@ def nlcount(text):
|
||||
print(before, after)
|
||||
|
||||
|
||||
__all__ += ['APP', 'DIRS', 'FILES', 'MODES', 'UTILS']
|
||||
__all__ += ['APP', 'DIRS', 'MODES', 'UTILS']
|
||||
|
||||
Reference in New Issue
Block a user