Updating branch refs/heads/master
         to d76edd3b36c6bf9896c0ac5b359d27098eeea497 (commit)
       from 31fd8ac66dc2ac2e542a31794bf65b2e23a0f50d (commit)

commit d76edd3b36c6bf9896c0ac5b359d27098eeea497
Author: Nick Schermer <[email protected]>
Date:   Sun Sep 5 18:02:11 2010 +0200

    Fix distributing the manual in the dist tarball.

 docs/manual/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am
index 6c7ade8..75dfc5d 100644
--- a/docs/manual/Makefile.am
+++ b/docs/manual/Makefile.am
@@ -135,12 +135,12 @@ all: doc-build.stamp
 # include the css and html files in the dist
 dist-hook: dist-check-doc doc-build.stamp
        file="$(srcdir)/html/$(PACKAGE).css"; \
+       mkdir -p "$(distdir)/html"; \
        if test -f "$$file"; then \
-               mkdir -p "$(distdir)/html"; \
                cp "$$file" "$(distdir)/html/"; \
        fi; \
        for lang in $(ALL_LINGUAS); do \
-               if test -d "$(srcdir)/html/$$lang/index.html"; then \
+               if test -f "$(srcdir)/html/$$lang/index.html"; then \
                        mkdir -p "$(distdir)/html/$$lang"; \
                        cp -t "$(distdir)/html/$$lang/" 
$(srcdir)/html/$$lang/*; \
                fi \
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to