Mike Gerwitz

Free Software Hacker+Activist

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <mike@mikegerwitz.com>2013-05-21 22:49:19 -0400
committerMike Gerwitz <mike@mikegerwitz.com>2013-05-25 11:51:34 -0400
commit8257096d84476db1cffeb4805e7a43b6f09e8dff (patch)
tree36315f4246a3d24f847849b15f351425cf19d82b
parentaf9661fcc21b11bc61b838d77497fac41fb692f4 (diff)
downloadthoughts-8257096d84476db1cffeb4805e7a43b6f09e8dff.zip
thoughts-8257096d84476db1cffeb4805e7a43b6f09e8dff.tar.gz
thoughts-8257096d84476db1cffeb4805e7a43b6f09e8dff.tar.bz2
Moved papers into docs subdir
This dir will store all documents to be copied into www-root
-rw-r--r--Makefile11
-rw-r--r--docs/papers/.gitignore (renamed from papers/.gitignore)0
-rw-r--r--docs/papers/git-horror-story.txt (renamed from papers/git-horror-story.txt)0
3 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index fca5c59..ef9e603 100644
--- a/Makefile
+++ b/Makefile
@@ -17,11 +17,11 @@
##
# list of articles to compile
-articles := $(patsubst %.txt, %.html, $(wildcard papers/*.txt))
+articles := $(patsubst %.txt, %.html, \
+ $(shell find docs/ -name '*.txt'))
www_root := www-root/
-.PHONY: default clean thoughts
-
+.PHONY: default clean articles thoughts
default: www-root
@@ -49,9 +49,10 @@ thoughts:
$<
./tools/mgify "$@"
-www-root: $(articles) thoughts
+articles: $(articles)
+www-root: articles thoughts
mkdir -p www-root/papers
- cp papers/*.html www-root/papers/
+ ( cd docs/ && find . -name '*.html' -exec cp {} ../www-root/{} \; )
cp -r images/ www-root/
cp style.css www-root/
ln -sf ../images www-root/papers/images
diff --git a/papers/.gitignore b/docs/papers/.gitignore
index 2d19fc7..2d19fc7 100644
--- a/papers/.gitignore
+++ b/docs/papers/.gitignore
diff --git a/papers/git-horror-story.txt b/docs/papers/git-horror-story.txt
index 0f2cd60..0f2cd60 100644
--- a/papers/git-horror-story.txt
+++ b/docs/papers/git-horror-story.txt