]> git.sur5r.net Git - i3/i3/blobdiff - Makefile
Bugfix: Don’t invert directions when resizing floating clients (top/left) (Thanks...
[i3/i3] / Makefile
index dfdc7a742a58ed77b60e9901abcb6ac894ca7109..9e615d6d8ed9163d8fcef6f3aa7c7b94fc3c7503 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,9 @@ dist: distclean
        cp -r src i3-msg include man i3-${VERSION}
        # Only copy toplevel documentation (important stuff)
        mkdir i3-${VERSION}/docs
-       find docs -maxdepth 1 -type f ! -name "*.xcf" -exec cp '{}' i3-${VERSION}/docs \;
+       # Pre-generate documentation
+       make -C docs
+       find docs -maxdepth 1 -type f ! \( -name "*.xcf" -or -name "*.svg" \) -exec cp '{}' i3-${VERSION}/docs \;
        # Only copy source code from i3-input
        mkdir i3-${VERSION}/i3-input
        find i3-input -maxdepth 1 -type f \( -name "*.c" -or -name "*.h" -or -name "Makefile" \) -exec cp '{}' i3-${VERSION}/i3-input \;
@@ -89,7 +91,7 @@ dist: distclean
        rm -rf i3-${VERSION}
 
 clean:
-       rm -f src/*.o src/cfgparse.tab.{c,h} src/cfgparse.output src/cfgparse.yy.c loglevels.tmp include/loglevels.h
+       rm -f src/*.o src/cfgparse.tab.{c,h} src/cfgparse.{output,dot} src/cfgparse.yy.c loglevels.tmp include/loglevels.h
        $(MAKE) -C docs clean
        $(MAKE) -C man clean
        $(MAKE) TOPDIR=$(TOPDIR) -C i3-msg clean