summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: c81a2f94088c3998fb048d3e465e7e8b62a6ea7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
bin_PROGRAMS = smenu
smenu_SOURCES = smenu.c smenu.h list.c list.h xmalloc.c xmalloc.h \
		index.c index.h utf8.c utf8.h fgetc.c fgetc.h     \
		utils.c utils.h usage.c usage.h ctxopt.h ctxopt.c \
		safe.h safe.c
dist_man_MANS = smenu.1
EXTRA_DIST =	ChangeLog build.sh version COPYRIGHT LICENSE README.rst \
		examples build-aux tests FAQ

dist-hook:
	@chmod u+rw $(distdir)/tests;              \
	cd $(distdir)/tests ;                      \
	find * -name 'data*' -o                    \
	       -name '*.in'  -o                    \
	       -name '*.tst' -o                    \
	       -name '*.bl'  -o                    \
	       -name '*.good'                      \
	| cpio -o > tests.cpio 2>/dev/null
	@gzip -f9 $(distdir)/tests/tests.cpio
	@find $(distdir)/tests/* -type d           \
				 -exec rm -rf {} +