projects
/
external
/
ragel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Just discovered that $srcdir is available in the configure script for checking
[external/ragel.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
7ab5f42
..
ca0cf6e
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-5,3
+5,8
@@
DIST_SUBDIRS = $(SUBDIRS) contrib examples test doc
dist_doc_DATA = CREDITS ChangeLog
EXTRA_DIST = ragel.vim
dist_doc_DATA = CREDITS ChangeLog
EXTRA_DIST = ragel.vim
+# This file is checked for by the configure script and its existence causes the
+# parsers and the manual to not be built when the distribution is built.
+dist-hook:
+ echo "This is a distribution of Ragel $(VERSION)." > $(distdir)/DIST
+