-rw-r--r-- | src/Makefile.am | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..d5102a7 --- a/dev/null +++ b/src/Makefile.am | |||
@@ -0,0 +1,15 @@ | |||
1 | bin_PROGRAMS = cliche | ||
2 | man_MANS = cliche.1 | ||
3 | |||
4 | EXTRA_DIST=$(man_MANS) | ||
5 | |||
6 | cliche_SOURCES = cliche.rl COPYING.cc | ||
7 | CLEANFILES=cliche.cc | ||
8 | |||
9 | COPYING.cc: ${top_srcdir}/COPYING | ||
10 | (echo 'const char *COPYING=' \ | ||
11 | && $(SED) -e 's/"/\\"/g' -e 's/^/\"/' -e 's/$$/\\n\"/' \ | ||
12 | && echo ';') <$< >$@ || (rm $@;exit 1) | ||
13 | |||
14 | .rl.cc: | ||
15 | $(RAGEL) -C -o $@ $< | ||