exclude 'ignore' marked RPMTAG entriess from tag table
authorewt <devnull@localhost>
Fri, 14 Feb 1997 03:25:14 +0000 (03:25 +0000)
committerewt <devnull@localhost>
Fri, 14 Feb 1997 03:25:14 +0000 (03:25 +0000)
CVS patchset: 1418
CVS date: 1997/02/14 03:25:14

lib/Makefile.in

index a888d2d..7749dbc 100644 (file)
@@ -38,7 +38,7 @@ tagtable.c: rpmlib.h
        echo '#include "rpmlib.h"' > tagtable.c
        echo '' >> tagtable.c
        echo 'const struct headerTagTableEntry rpmTagTable[] = {' >> tagtable.c
-       awk '/(RPMTAG_[A-Z0-9]*)[ \t]+([0-9]*)/ { printf("\t{ \"%s\", %s },\n", $$2, $$3); }' < $(srcdir)/rpmlib.h >> tagtable.c
+       awk '/(RPMTAG_[A-Z0-9]*)[ \t]+([0-9]*)/ && !/internal/ { printf("\t{ \"%s\", %s },\n", $$2, $$3); }' < $(srcdir)/rpmlib.h >> tagtable.c
        echo '  { NULL, 0 }' >> tagtable.c
        echo '};' >> tagtable.c
        echo '' >> tagtable.c