* debian.rules: now creates *.architecture.deb
[findutils.git] / testsuite / Makefile.am
blobc3606000c9c020a8dfce05b1356619763d5f5a39
1 XARGS = ../xargs/xargs
2 XARGSFLAGS =
4 RUNTEST= runtest
5 RUNTESTFLAGS=
7 DIST_OTHER = config/*.exp inputs/*.xi xargs.*/*.exp xargs.*/*.xo
8 DIST_DIRS = config inputs xargs.gnu xargs.posix xargs.sysv
10 CLEANFILES = *.log *.sum site.exp site.bak
12 check:: site.exp
13         @echo This only works if you have the DejaGNU runtest program installed...
14         $(RUNTEST) $(RUNTESTFLAGS) --tool xargs XARGS=${XARGS} \
15         XARGSFLAGS="${XARGSFLAGS}" --srcdir $(srcdir)
17 site.exp:
18         @echo "Making a new site.exp file..."
19         -@rm -f site.bak
20         -@mv site.exp site.bak
21         @echo "## these variables are automatically generated by make ##" > site.exp
22         @echo "# Do not edit here. If you wish to override these values" >> site.exp
23         @echo "# add them to the last section" >> site.exp
24         @echo "set tool xargs" >> site.exp
25         @echo "set srcdir ${srcdir}" >> site.exp
26         @echo "set objdir `pwd`" >> site.exp
27         @echo "## All variables above are generated by configure. Do Not Edit ##" >> site.exp
28         -@sed '1,/^## All variables above are.*##/ d' site.bak >> site.exp
30 $(DIST_DIRS): FORCE
31         -mkdir ../`cat ../distname`/$(subdir)
32         -for d in $(DIST_DIRS); do \
33         echo mkdir ../`cat ../distname`/$(subdir)/$$d; \
34         mkdir ../`cat ../distname`/$(subdir)/$$d; done
36 FORCE: