-# $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"), #
first = 1;
count = 0;
}
-!/^#/ {
+/^#/ {
+ next;
+ }
+/^$/ {
+ next;
+ }
+ {
if (first) {
print "# generated by mk-test.awk\n";
first = 0;
print "sources:"
print ""
print "tags:"
- print " ctags *.[ch]"
+ print " $(CTAGS) *.[ch]"
print ""
print "libs \\"
print "install \\"