aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.env6
-rw-r--r--ikiwiki.yaml1
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.env b/Makefile.env
index 32e66a1..f41c74a 100644
--- a/Makefile.env
+++ b/Makefile.env
@@ -18,8 +18,14 @@
HTTP_BASE = www
web: jhead mat
+ @#echo Applying workaround since exclude patterns are not working...
+ @find vendor -name '*.md' -exec rm {} \;
+
@ikiwiki --setup ikiwiki.yaml
+ @#echo Cleaning up...
+ git submodule foreach git restore .
+
web_deploy:
@rsync -avz --delete www/ blog:/var/sites/blog/www/
diff --git a/ikiwiki.yaml b/ikiwiki.yaml
index 949c2cb..0be3737 100644
--- a/ikiwiki.yaml
+++ b/ikiwiki.yaml
@@ -99,6 +99,7 @@ ENV: {}
# regexp of normally excluded files to include
include: ^\.htaccess$
# regexp of files that should be skipped
+#exclude: (^(www|drafts|vendor).*)
exclude: (?^i:(www|drafts|vendor))
# specifies the characters that are allowed in source filenames
wiki_file_chars: -[:alnum:]+/.:_