X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fmk-test.awk;h=b752152da8e27c39bf156d356891b433f28e56d2;hp=a89c150ef7298ae44050d7082852e5a360222117;hb=cf94c7485f7b40ff7870b5bf9a65e7ab87481a76;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/test/mk-test.awk b/test/mk-test.awk index a89c150e..b752152d 100644 --- a/test/mk-test.awk +++ b/test/mk-test.awk @@ -1,6 +1,6 @@ -# $Id: mk-test.awk,v 1.4 2006/10/21 22:56:50 tom Exp $ +# $Id: mk-test.awk,v 1.6 2010/04/03 15:32:15 tom Exp $ ############################################################################## -# Copyright (c) 2006 Free Software Foundation, Inc. # +# Copyright (c) 2006-2007,2010 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"), # @@ -34,7 +34,13 @@ BEGIN { first = 1; count = 0; } -!/^#/ { +/^#/ { + next; + } +/^$/ { + next; + } + { if (first) { print "# generated by mk-test.awk\n"; first = 0; @@ -67,7 +73,7 @@ END { print "sources:" print "" print "tags:" - print " ctags *.[ch]" + print " $(CTAGS) *.[ch]" print "" print "libs \\" print "install \\"