1# Generated automatically from Makefile.in by configure.
2# Makefile for check subdirectory in GNU gettext package.
3# Copyright (C) 1995 Free Software Foundation, Inc.
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2, or (at your option)
8# any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19PACKAGE = sharutils
20VERSION = 4.2.1
21
22SHELL = /bin/sh
23
24
25srcdir = .
26top_srcdir = ..
27
28subdir = checks
29
30
31TESTSRCS = testdata
32DISTFILES = ChangeLog Makefile.in $(TESTSRCS)
33
34all:
35
36check:
37	rm -f test.bin test.tmp
38	../src/uudecode $(srcdir)/testdata
39	../src/uuencode test.bin test.bin > test.tmp
40	cmp $(srcdir)/testdata test.tmp || exit 1
41	rm -f test.bin test.tmp
42	@echo ==========================
43	@echo All checks are successful.
44	@echo ==========================
45
46install uninstall tags TAGS id ID:
47
48mostlyclean:
49	rm -f core core.* *.tmp test.bin
50
51clean: mostlyclean
52
53distclean: clean
54	rm -f Makefile
55
56maintainer-clean: distclean
57	@echo "This command is intended for maintainers to use;"
58	@echo "it deletes files that may require special tools to rebuild."
59
60distdir = ../$(PACKAGE)-$(VERSION)/$(subdir)
61dist: Makefile $(DISTFILES)
62	for file in $(DISTFILES); do \
63	  ln $(srcdir)/$$file $(distdir) 2> /dev/null \
64	    || cp -p $(srcdir)/$$file $(distdir); \
65	done
66
67Makefile: Makefile.in ../config.status
68	cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
69
70# Tell versions [3.59,3.63) of GNU make not to export all variables.
71# Otherwise a system limit (for SysV at least) may be exceeded.
72.NOEXPORT:
73