[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [PATCH 1/4] [ng] rename: am__create_installdir -> am.texi.
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [PATCH 1/4] [ng] rename: am__create_installdir -> am.texi.create-installdir |
Date: |
Sun, 12 Aug 2012 14:49:46 +0200 |
* lib/am/texinfos.am: Here. And fix a related comment while at it.
Signed-off-by: Stefano Lattarini <address@hidden>
---
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 cc75541..1c33ef5 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 <http://www.gnu.org/licenses/>.
-## 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 \
--
1.7.12.rc0