bf5b2107d74f33463ae8c3532ed4158cc4ea3f58
[gedcom-parse.git] / doc / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # $Id$
3 # $Name$
4
5 EXTRA_DIST = index.html usage.html parser.html interface.html links.html
6 VERSIONED_FILES = index.html
7
8 dist-hook:
9         @cd $(distdir); \
10         mkdir images
11         cp -p $(srcdir)/images/schema.obj $(srcdir)/images/schema.png images \
12         for file in $(VERSIONED_FILES); do \
13           sed 's/\@VERSION\@/${VERSION}/' $$file > $$file.new; \
14           rm $$file; \
15           mv $$file.new $$file; \
16         done