Bugfixes for make distcheck.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Mon, 31 Dec 2001 16:07:34 +0000 (16:07 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Mon, 31 Dec 2001 16:07:34 +0000 (16:07 +0000)
doc/Makefile.am

index bf5b2107d74f33463ae8c3532ed4158cc4ea3f58..550b6bf7ab8c2dc36033842dca527f03e1de0efa 100644 (file)
@@ -6,9 +6,10 @@ EXTRA_DIST = index.html usage.html parser.html interface.html links.html
 VERSIONED_FILES = index.html
 
 dist-hook:
-       @cd $(distdir); \
-       mkdir images
-       cp -p $(srcdir)/images/schema.obj $(srcdir)/images/schema.png images \
+       mkdir -p $(distdir)/images;
+       cp -p $(srcdir)/images/schema.obj $(srcdir)/images/schema.png \
+          $(distdir)/images;
+       cd $(distdir); \
        for file in $(VERSIONED_FILES); do \
           sed 's/\@VERSION\@/${VERSION}/' $$file > $$file.new; \
          rm $$file; \