1AUTOMAKE_OPTIONS = no-texinfo.tex
2ACLOCAL_AMFLAGS=@ACLOCAL_CWFLAGS@
3
4SUBDIRS = tilde .
5
6BUILT_SOURCES =
7EXTRA_DIST = COPYING $(man_MANS) $(BUILT_SOURCES) README.alias README EXAMPLES which.1
8DISTCLEANFILES=config.cache config.log config.h
9
10bin_PROGRAMS = which
11
12which_SOURCES = \
13	getopt.c \
14	getopt1.c \
15	bash.c \
16	which.c \
17	bash.h \
18	sys.h \
19	getopt.h \
20	posixstat.h
21
22LDADD = $(top_builddir)/tilde/libtilde.a
23info_TEXINFOS = which.texi
24man_MANS = which.1
25
26# --------------- Maintainer's Section
27
28dist-local: which README EXAMPLES which.1
29
30distclean-local:
31	rm -rf .deps autom4te-*.cache which-*.tar.gz
32
33MAINTAINERCLEANFILES=aclocal.m4 Makefile.in config.h.in stamp-h.in configure \
34        ChangeLog EXAMPLES which-2.spec index.html cvslog-*.html README \
35	texinfo2man which.1 install-sh missing mkinstalldirs \
36	config.cache config.log depcomp compile config.status which.lsm
37
38@MAINTAINER_MODE_TRUE@include maintMakefile
39