2004-07-17 Alexandre Duret-Lutz <adl@gnu.org>
+ * lib/am/texibuild.am (?GENERIC?%SOURCE_SUFFIX%.html,
+ ?!GENERIC?%DEST_PREFIX%.html): Use $(X), not ${X}.
+
* tests/installdir.test: installdirs-local should appear three times,
since the change from 2004-07-11 will make it PHONY.
## in the manual change, it may leave unused pages. Our fix
## is to build under a temporary name, and replace the target on
## success.
- rm -rf ${@:.html=.htp}
+ rm -rf $(@:.html=.htp)
if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) %MAKEINFOFLAGS% \
-?GENERIC? -o ${@:.html=.htp} %SOURCE%; \
-?!GENERIC? -o ${@:.html=.htp} `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%; \
+?GENERIC? -o $(@:.html=.htp) %SOURCE%; \
+?!GENERIC? -o $(@:.html=.htp) `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE%; \
then \
rm -rf $@; \
## Work around a bug in Texinfo 4.1 (-o foo.html outputs files in foo/
## instead of foo.html/).
- if test ! -d ${@:.html=.htp} && test -d $(@:.html=); then \
+ if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
else \
- if test ! -d ${@:.html=.htp} && test -d $(@:.html=); then \
+ if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
exit 1; \
fi