]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Bug #1773: Revert bad fix (4ef609b8) and do it properly.
authorLinus Nordberg <linus@torproject.org>
Mon, 9 Aug 2010 19:44:21 +0000 (21:44 +0200)
committerNick Mathewson <nickm@torproject.org>
Wed, 11 Aug 2010 13:41:34 +0000 (09:41 -0400)
* doc/Makefile.am: Move $(VAR:MOD) expansions inside "if USE_ASCIIDOC".
* doc/Makefile.am: Use proper variable name for text input files.
* doc/Makefile.am: Initialize vars to empty when !USE_ASCIIDOC.

doc/Makefile.am

index 2e70fd747458341427a041c5b8cbd87660ff882c..0f649d664a2a90df590167908007de03702567f9 100644 (file)
 
 if USE_ASCIIDOC
 asciidoc_files = tor tor-gencert tor-resolve torify
+html_in = $(asciidoc_files:=.html.in)
+man_in = $(asciidoc_files:=.1.in)
+txt_in = $(asciidoc_files:=.1.txt)
+nodist_man_MANS = $(asciidoc_files:=.1)
+doc_DATA = $(asciidoc_files:=.html)
 else
 asciidoc_files =
+html_in =
+man_in =
+txt_in =
+nodist_man_MANS =
+doc_DATA =
 endif
 
-html_in = ${asciidoc_files:=.html.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) $(txt_in)                 \
              tor-osx-dmg-creation.txt tor-rpm-creation.txt   \
              tor-win32-mingw-creation.txt
 
-nodist_man_MANS = ${asciidoc_files:=.1}
-
 docdir = @docdir@
 
-doc_DATA = ${asciidoc_files:=.html}
-
 asciidoc_product = $(nodist_man_MANS) $(doc_DATA)
 
 SUBDIRS = spec