]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/MKlib_gen.sh
ncurses 6.0 - patch 20170107
[ncurses.git] / ncurses / base / MKlib_gen.sh
index 3d5b39decaec7be4f83e2153fe591b0061903702..1552711966ef1131e0e5cd8232e6188175544779 100755 (executable)
@@ -2,10 +2,10 @@
 #
 # MKlib_gen.sh -- generate sources from curses.h macro definitions
 #
-# ($Id: MKlib_gen.sh,v 1.55 2016/12/11 00:07:14 tom Exp $)
+# ($Id: MKlib_gen.sh,v 1.56 2017/01/07 16:02:47 tom Exp $)
 #
 ##############################################################################
-# Copyright (c) 1998-2015,2016 Free Software Foundation, Inc.                #
+# Copyright (c) 1998-2016,2017 Free Software Foundation, Inc.                #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -399,9 +399,10 @@ EOF1
 
 cat >$AW2 <<EOF1
 BEGIN          {
+               printf "/* This file was generated by $0 */\n"
+               print ""
                print "/*"
                print " * DO NOT EDIT THIS FILE BY HAND!"
-               printf " * It is generated by $0 %s.\n", "$USE"
                if ( "$USE" == "generated" ) {
                        print " *"
                        print " * This is a file of trivial functions generated from macro"