another attempt to fix automake config

d527094b was not the right fix - Util.pm was being installed alongside
Stow.pm under $(PMDIR).  This should be the correct fix.
This commit is contained in:
Adam Spiers 2015-11-17 17:27:39 +00:00
parent 1664be4125
commit cc0767597e

View file

@ -10,8 +10,12 @@ dist_doc_DATA = \
$(PDF) $(HTML) doc/version.texi \ $(PDF) $(HTML) doc/version.texi \
ChangeLog doc/ChangeLog.OLD ChangeLog doc/ChangeLog.OLD
# automake magic to define where *_DATA files get installed:
pmdir = $(PMDIR) pmdir = $(PMDIR)
pm_DATA = lib/Stow.pm lib/Stow/Util.pm pmstowdir = $(pmdir)/Stow
pm_DATA = lib/Stow.pm
pmstow_DATA = lib/Stow/Util.pm
TEXINFO_TEX = doc/texinfo.tex TEXINFO_TEX = doc/texinfo.tex
export TEXI2DVI_BUILD_MODE = clean export TEXI2DVI_BUILD_MODE = clean
@ -79,7 +83,7 @@ EXTRA_DIST = \
$(TEXINFO_TEX) \ $(TEXINFO_TEX) \
$(DEFAULT_IGNORE_LIST) \ $(DEFAULT_IGNORE_LIST) \
$(CPAN_FILES) $(CPAN_FILES)
CLEANFILES = $(bin_SCRIPTS) $(pm_DATA) CLEANFILES = $(bin_SCRIPTS) $(pm_DATA) $(pmstow_DATA)
MAINTAINERCLEANFILES = $(dist_man_MANS) $(HTML) $(PDF) ChangeLog MAINTAINERCLEANFILES = $(dist_man_MANS) $(HTML) $(PDF) ChangeLog
# clean up auto-generated files # clean up auto-generated files