]> Savannah Git Hosting - gnulib.git/commitdiff
pygnulib: fix output regarding Makefile.am
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 4 Jul 2018 21:06:31 +0000 (00:06 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Wed, 4 Jul 2018 21:06:31 +0000 (00:06 +0300)
pygnulib.py

index dc4afea2cdb47436f9d962013d8cac04a354fd35..0e0f1359bd213d9ee65f341b61b13b22a5b18188 100755 (executable)
@@ -689,6 +689,8 @@ def import_hook(script, gnulib, namespace, explicit, verbosity, options, *args,
     # Mention other necessary actions.
     print("", file=sys.stdout)
     print("Don't forget to", file=sys.stdout)
+    if config.makefile_name is None:
+        config.makefile_name = "Makefile.am"
     if config.makefile_name == "Makefile.am":
         fmt = "  - add \"{source_base}/Makefile\" to AC_CONFIG_FILES in {ac_file},"
     else: