stow/Makefile.am

55 lines
1.3 KiB
Text
Raw Permalink Normal View History

2001-12-24 09:57:46 -05:00
## Process this file with Automake to produce Makefile.in
bin_SCRIPTS = stow chkstow
2001-12-24 09:57:46 -05:00
info_TEXINFOS = stow.texi
2001-12-30 12:56:45 -05:00
man8_MANS = stow.8
dist_man_MANS = stow.8
dist_doc_DATA = README
TESTS_ENVIRONMENT=$(PERL) -I $(top_srcdir)
TESTS = \
t/cleanup_invalid_links.t \
t/defer.t \
t/examples.t \
t/find_stowed_path.t \
t/foldable.t \
t/join_paths.t \
t/parent.t \
t/relative_path.t \
t/stow_contents.t \
t/stow.t \
t/unstow_contents_orig.t \
t/unstow_contents.t \
t/chkstow.t
AUTOMAKE_OPTIONS = dist-shar
EXTRA_DIST = $(TESTS) t/util.pm stow.in
CLEANFILES = $(bin_SCRIPTS)
# clean up files left behind by test suite
clean-local:
-rm -rf t/target t/stow
# this is more explicit and reliable than the config file trick
edit = sed -e 's|[@]PERL[@]|$(PERL)|g' \
-e 's|[@]PACKAGE[@]|$(PACKAGE)|g' \
-e 's|[@]VERSION[@]|$(VERSION)|g'
stow: stow.in Makefile
$(edit) < $< > $@
chmod +x $@
2001-12-24 09:57:46 -05:00
chkstow: chkstow.in Makefile
$(edit) < $< > $@
chmod +x $@
2001-12-24 09:57:46 -05:00
# The rules for manual.html and manual.texi are only used by
# the developer
manual.html: manual.texi
-rm -f $@
texi2html -expandinfo -menu -monolithic -verbose $<
manual.texi: stow.texi
-rm -f $@
cp $< $@