Bugfixes for make distcheck.
[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         mkdir -p $(distdir)/images;
10         cp -p $(srcdir)/images/schema.obj $(srcdir)/images/schema.png \
11            $(distdir)/images;
12         cd $(distdir); \
13         for file in $(VERSIONED_FILES); do \
14           sed 's/\@VERSION\@/${VERSION}/' $$file > $$file.new; \
15           rm $$file; \
16           mv $$file.new $$file; \
17         done