]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
pygnulib.py: old and new files generation
authorDmitry Selyutin <ghostmansd@gmail.com>
Tue, 3 Oct 2017 07:52:48 +0000 (10:52 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Tue, 3 Oct 2017 07:52:48 +0000 (10:52 +0300)
pygnulib.py

index 8bdd2ea4ddd5c58a964622e74ef756adc8f9597d..0a6a9f84531c05278ea08b59cccccc8ca95c60c7 100755 (executable)
@@ -140,6 +140,9 @@ def import_hook(script, gnulib, namespace, verbosity, options, *args, **kwargs):
                 print("  ", src, " -> ", dst, file=sys.stdout, sep="")
             else:
                 print("  ", file, file=sys.stdout, sep="")
+
+    old_files = frozenset(config.files)
+    new_files = frozenset(files | set(["m4/gnulib-tool.m4"]))
     return os.EX_OK