1 ## Process this file with Automake to produce Makefile.in
3 bin_SCRIPTS = stow chkstow
4 info_TEXINFOS = stow.texi
9 TESTS_ENVIRONMENT=$(PERL) -I $(top_srcdir)
11 t/cleanup_invalid_links.t \
14 t/find_stowed_path.t \
21 t/unstow_contents_orig.t \
25 AUTOMAKE_OPTIONS = dist-shar
26 EXTRA_DIST = $(TESTS) t/util.pm stow.in
27 CLEANFILES = $(bin_SCRIPTS)
29 # clean up files left behind by test suite
31 -rm -rf t/target t/stow
33 # this is more explicit and reliable than the config file trick
34 edit = sed -e 's|[@]PERL[@]|$(PERL)|g' \
35 -e 's|[@]PACKAGE[@]|$(PACKAGE)|g' \
36 -e 's|[@]VERSION[@]|$(VERSION)|g'
38 stow: stow.in Makefile
42 chkstow: chkstow.in Makefile
46 # The rules for manual.html and manual.texi are only used by
48 manual.html: manual.texi
50 texi2html -expandinfo -menu -monolithic -verbose $<
52 manual.texi: stow.texi
57 perl -MTest::Harness -e 'runtests(@ARGV)' t/*.t