CVS patchset: 1418
CVS date: 1997/02/14 03:25:14
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