summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sample/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/sample/Makefile b/sample/Makefile
index 35f4be9..cd9d521 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -1,6 +1,10 @@
-# Transform content into layout formats
-
-include /usr
+# A layout project using Couchdesign content transformation
# content
-texts =
+texts = front chapter1 chapter2 chapter3 caption1 caption2
+
+# include shared code
+$(if $(wildcard $(COUCHDIR)),,\
+ $(info ERROR: Add e.g. this to ~/.bashrc: export COUCHDIR=~/src/COUCH)\
+ $(error cannot load shared code))
+include $(COUCHDIR)/layout/lib/content.mk