Take UTF-8 spaces into account for empty strings
[smenu.git] / Makefile.am
blobc81a2f94088c3998fb048d3e465e7e8b62a6ea7f
1 bin_PROGRAMS = smenu
2 smenu_SOURCES = smenu.c smenu.h list.c list.h xmalloc.c xmalloc.h \
3                 index.c index.h utf8.c utf8.h fgetc.c fgetc.h     \
4                 utils.c utils.h usage.c usage.h ctxopt.h ctxopt.c \
5                 safe.h safe.c
6 dist_man_MANS = smenu.1
7 EXTRA_DIST =    ChangeLog build.sh version COPYRIGHT LICENSE README.rst \
8                 examples build-aux tests FAQ
10 dist-hook:
11         @chmod u+rw $(distdir)/tests;              \
12         cd $(distdir)/tests ;                      \
13         find * -name 'data*' -o                    \
14                -name '*.in'  -o                    \
15                -name '*.tst' -o                    \
16                -name '*.bl'  -o                    \
17                -name '*.good'                      \
18         | cpio -o > tests.cpio 2>/dev/null
19         @gzip -f9 $(distdir)/tests/tests.cpio
20         @find $(distdir)/tests/* -type d           \
21                                  -exec rm -rf {} +