From 2abbd59c3601fbaaad4c640a90bbd2e3413a385c Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 12 Aug 2012 13:23:06 +0200 Subject: [PATCH] [ng] rename: am__create_installdir -> am.texi.create-installdir * lib/am/texinfos.am: Here. And fix a related comment while at it. Signed-off-by: Stefano Lattarini --- lib/am/texinfos.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/am/texinfos.am b/lib/am/texinfos.am index cc755411d..1c33ef593 100644 --- a/lib/am/texinfos.am +++ b/lib/am/texinfos.am @@ -15,8 +15,8 @@ ## You should have received a copy of the GNU General Public License ## along with this program. If not, see . -## FIXME: this should probably be moved to header-vars.am ... -am__create_installdir = $(if $(and $1,$^),$(MKDIR_P) '$(DESTDIR)$1',@:) +# FIXME: this should probably be generalized and moved to header-vars.mk +am.texi.create-installdir = $(if $(and $1,$^),$(MKDIR_P) '$(DESTDIR)$1',@:) ## ---------- ## @@ -132,7 +132,7 @@ install-html-am: .am/install-html .am/install-html: $(HTMLS) @$(NORMAL_INSTALL) - $(call am__create_installdir,$(htmldir)) + $(call am.texi.create-installdir,$(htmldir)) @list=''; \ $(if $(and $(HTMLS),$(htmldir)),$(foreach i,$(HTMLS), \ p=$(call am.vpath.rewrite,$i); \ @@ -153,7 +153,7 @@ install-html-am: .am/install-html .am/install-info: $(INFO_DEPS) @$(NORMAL_INSTALL) - $(call am__create_installdir,$(infodir)) + $(call am.texi.create-installdir,$(infodir)) @list='$(and $(infodir),$^)'; test -n "$$list" || exit 0; \ for file in $$list; do \ for ifile in $$file $$file-[0-9] $$file-[0-9][0-9]; do \ @@ -180,7 +180,7 @@ install-html-am: .am/install-html .am/install-dvi: $(DVIS) @$(NORMAL_INSTALL) - $(call am__create_installdir,$(dvidir)) + $(call am.texi.create-installdir,$(dvidir)) @list='$(and $(dvidir),$^)'; test -n "$$list" || exit 0; \ for p in $$list; do echo "$$p"; done | $(am__base_list) | \ while read files; do \ @@ -190,7 +190,7 @@ install-html-am: .am/install-html .am/install-pdf: $(PDFS) @$(NORMAL_INSTALL) - $(call am__create_installdir,$(pdfdir)) + $(call am.texi.create-installdir,$(pdfdir)) @list='$(and $(pdfdir),$^)'; test -n "$$list" || exit 0; \ for p in $$list; do echo "$$p"; done | $(am__base_list) | \ while read files; do \ @@ -200,7 +200,7 @@ install-html-am: .am/install-html .am/install-ps: $(PSS) @$(NORMAL_INSTALL) - $(call am__create_installdir,$(psdir)) + $(call am.texi.create-installdir,$(psdir)) @list='$(and $(psdir),$^)'; test -n "$$list" || exit 0; \ for p in $$list; do echo "$$p"; done | $(am__base_list) | \ while read files; do \ -- 2.47.2