aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-26 15:48:48 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-26 15:48:48 +0300
commit37c25658efd25b034266daf87cd381d20d1df776 (patch)
tree89dffc630f2a9aaad756dd7dad5d3bc510c18aca /Makefile.am
parentBuild: Fix mydist rule when .git doesn't exist. (diff)
downloadxz-37c25658efd25b034266daf87cd381d20d1df776.tar.xz
Build: Copy the example programs to $docdir/examples.
The example programs by Daniel Mealha Cabrita were included in the git repository, but I had forgot to add them to Makefile.am. Thus, they didn't get included in the source package at all by "make dist".
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 91c7c085..2ce74aa5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,11 @@ dist_doc_DATA = \
doc/xz-file-format.txt \
doc/lzma-file-format.txt
+examplesdir = $(docdir)/examples
+dist_examples_DATA = \
+ doc/examples/xz_pipe_comp.c \
+ doc/examples/xz_pipe_decomp.c
+
EXTRA_DIST = \
extra \
dos \