]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compilation issue in doc/Makefile.am on NetBSD
authorLinus Nordberg <linus@torproject.org>
Fri, 30 Jul 2010 11:54:38 +0000 (13:54 +0200)
committerNick Mathewson <nickm@torproject.org>
Fri, 30 Jul 2010 15:34:52 +0000 (11:34 -0400)
* doc/Makefile.am: Change $(VAR:MOD) to ${VAR:MOD} -- make(1) on
NetBSD substitutes '$(:x)' to 'x' rather than the empty string.  This
bites us in doc/ when configured with `--disable-asciidoc'.  Curly
braces should work in all implementations of make(1) but this patch
changes only the places where we use the VAR:MOD expansion.

doc/Makefile.am

index e7edb0476bd0db071d6e0ff067d5f1585d59c2e3..d976f9d6fac85c46c6c3ff219dae63f94c961ae8 100644 (file)
@@ -19,20 +19,20 @@ else
 asciidoc_files =
 endif
 
-html_in = $(asciidoc_files:=.html.in)
+html_in = ${asciidoc_files:=.html.in}
 
-man_in = $(asciidoc_files:=.1.in)
+man_in = ${asciidoc_files:=.1.in}
 
 EXTRA_DIST = HACKING asciidoc-helper.sh                      \
-             $(html_in) $(man_in) $(asciidoc_files:=.1.txt)  \
+             $(html_in) $(man_in) ${asciidoc_files:=.1.txt}  \
              tor-osx-dmg-creation.txt tor-rpm-creation.txt   \
              tor-win32-mingw-creation.txt
 
-nodist_man_MANS = $(asciidoc_files:=.1)
+nodist_man_MANS = ${asciidoc_files:=.1}
 
 docdir = @docdir@
 
-doc_DATA = $(asciidoc_files:=.html)
+doc_DATA = ${asciidoc_files:=.html}
 
 asciidoc_product = $(nodist_man_MANS) $(doc_DATA)