Portability fix: grep isn't always understanding full regex syntax.
[gedcom-parse.git] / include / Makefile.am
index 56b84acfd065268b7a0db76497838af156c6ae55..a098fbba0fc3d6de62c2040011d8f2041d8df185 100644 (file)
@@ -9,5 +9,6 @@ BUILT_SOURCES = gedcom.h \
 EXTRA_DIST = gedcom.h.in
 
 gedcom-tags.h: $(srcdir)/../gedcom/gedcom.tabgen.h
-       grep "TAG_\|USERTAG" $< > $@
+       grep "TAG_" $< > $@
+       grep "USERTAG" $< >> $@