summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-10-03 21:41:15 +0000
committerMorgan Deters <mdeters@gmail.com>2012-10-03 21:41:15 +0000
commit7b7397c8fd04093e3e50666bc56954133805bd25 (patch)
treeeef7b8ed929c47aa16b243b8fe9b91557e0ecdfe /Makefile
parentc3e9112157320111c18b2984052abd9cd17127dc (diff)
better documentation, allow examples to be installed, etc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 86a04dc3e..849d6eeab 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,8 @@
#
builddir = builds
-.PHONY: all
-all .DEFAULT:
+.PHONY: all install
+all install .DEFAULT:
@if test -d $(builddir); then \
echo cd $(builddir); \
cd $(builddir); \
@@ -42,6 +42,10 @@ doc-internals: doc-internals-builds
examples: all
(cd examples && $(MAKE) $(AM_MAKEFLAGS))
+.PHONY: install-examples
+install-examples:
+ (cd examples && $(MAKE) $(AM_MAKEFLAGS) install-data)
+
YEAR := $(shell date +%Y)
submission submission-main:
@if [ -n "`ls src/parser/*/generated 2>/dev/null`" ]; then \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback