Added functions to add, remove and move substructs.
[gedcom-parse.git] / include / Makefile.am
index c0698405dd4634dc320e44dac50c5545d8b19248..80016c54b53f2bc4eb37f31e3bcba7ef7f062348 100644 (file)
@@ -2,9 +2,14 @@
 # $Id$
 # $Name$
 include_HEADERS = gedcom.h \
-                 gedcom-tags.h
-BUILT_SOURCES = gedcom-tags.h
+                 gedcom-tags.h \
+                 gom.h
+BUILT_SOURCES = gedcom.h \
+               gedcom-tags.h
+EXTRA_DIST = gedcom.h.in \
+            gedcom-tags.h
 
-gedcom-tags.h: $(srcdir)/../gedcom/gedcom.tab.h
-       grep "TAG_\|USERTAG" $(srcdir)/../gedcom/gedcom.tab.h > gedcom-tags.h
+gedcom-tags.h: $(srcdir)/../gedcom/gedcom.tabgen.h
+       grep "TAG_" $< > $@
+       grep "USERTAG" $< >> $@