[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [tor/master 1/2] Fix building the tarball



Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Wed, 27 Jan 2010 21:05:01 +0100
Subject: Fix building the tarball
Commit: 32c1863a673cc66758c393e24a9218de5d17ab8b

This removes the Makefile.am from doc/design-paper and replaces it with
a static Makefile. We don't need to call it during the normal Tor build
process, as we don't need its targets normally. Keeping it around in
case we want to rebuild the pdf or ps files later.
---
 .gitignore                   |    4 ----
 configure.in                 |    2 +-
 doc/Makefile.am              |    2 +-
 doc/design-paper/Makefile    |   21 +++++++++++++++++++++
 doc/design-paper/Makefile.am |   26 --------------------------
 5 files changed, 23 insertions(+), 32 deletions(-)
 create mode 100644 doc/design-paper/Makefile
 delete mode 100644 doc/design-paper/Makefile.am

diff --git a/.gitignore b/.gitignore
index cb8ad9c..caa1352 100644
--- a/.gitignore
+++ b/.gitignore
@@ -110,10 +110,6 @@
 /doc/torify.html
 /doc/torify.html.in
 
-# /doc/design-paper/
-/doc/design-paper/Makefile
-/doc/design-paper/Makefile.in
-
 # /doc/spec/
 /doc/spec/Makefile
 /doc/spec/Makefile.in
diff --git a/configure.in b/configure.in
index 3f9ee94..0570a1f 100644
--- a/configure.in
+++ b/configure.in
@@ -876,7 +876,7 @@ fi
 
 CPPFLAGS="$CPPFLAGS $TOR_CPPFLAGS_libevent $TOR_CPPFLAGS_openssl $TOR_CPPFLAGS_zlib"
 
-AC_CONFIG_FILES([Makefile tor.spec Doxyfile contrib/tor.sh contrib/torctl contrib/torify contrib/tor.logrotate contrib/Makefile contrib/osx/Makefile contrib/osx/TorBundleDesc.plist contrib/osx/TorBundleInfo.plist contrib/osx/TorDesc.plist contrib/osx/TorInfo.plist contrib/osx/TorStartupDesc.plist src/config/torrc.sample src/Makefile doc/Makefile doc/design-paper/Makefile doc/spec/Makefile src/config/Makefile src/common/Makefile src/or/Makefile src/test/Makefile src/win32/Makefile src/tools/Makefile contrib/suse/Makefile contrib/suse/tor.sh])
+AC_CONFIG_FILES([Makefile tor.spec Doxyfile contrib/tor.sh contrib/torctl contrib/torify contrib/tor.logrotate contrib/Makefile contrib/osx/Makefile contrib/osx/TorBundleDesc.plist contrib/osx/TorBundleInfo.plist contrib/osx/TorDesc.plist contrib/osx/TorInfo.plist contrib/osx/TorStartupDesc.plist src/config/torrc.sample src/Makefile doc/Makefile doc/spec/Makefile src/config/Makefile src/common/Makefile src/or/Makefile src/test/Makefile src/win32/Makefile src/tools/Makefile contrib/suse/Makefile contrib/suse/tor.sh])
 AC_OUTPUT
 
 if test -x /usr/bin/perl && test -x ./contrib/updateVersions.pl ; then
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 45379d1..d28c571 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -30,7 +30,7 @@ doc_DATA = $(asciidoc_files:=.html)
 
 asciidoc_product = $(nodist_man_MANS) $(doc_DATA)
 
-SUBDIRS = design-paper spec
+SUBDIRS = spec
 
 DIST_SUBDIRS = spec
 
diff --git a/doc/design-paper/Makefile b/doc/design-paper/Makefile
new file mode 100644
index 0000000..3fdbbec
--- /dev/null
+++ b/doc/design-paper/Makefile
@@ -0,0 +1,21 @@
+cell-struct.eps: cell-struct.fig
+	fig2dev -L eps $< $@
+interaction.eps: interaction.fig
+	fig2dev -L eps $< $@
+cell-struct.pdf: cell-struct.fig
+	fig2dev -L pdf $< $@
+interaction.pdf: interaction.fig
+	fig2dev -L pdf $< $@
+
+tor-design.ps: cell-struct.eps interaction.eps tor-design.bib tor-design.tex usenix.sty latex8.bst
+	latex tor-design.tex
+	bibtex tor-design
+	latex tor-design.tex
+	latex tor-design.tex
+	dvips -o $@ tor-design.dvi
+
+tor-design.pdf: cell-struct.pdf interaction.pdf tor-design.bib tor-design.tex usenix.sty latex8.bst
+	pdflatex tor-design.tex
+	bibtex tor-design
+	pdflatex tor-design.tex
+	pdflatex tor-design.tex
\ No newline at end of file
diff --git a/doc/design-paper/Makefile.am b/doc/design-paper/Makefile.am
deleted file mode 100644
index fb94706..0000000
--- a/doc/design-paper/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-
-cell-struct.eps: cell-struct.fig
-	fig2dev -L eps $< $@
-interaction.eps: interaction.fig
-	fig2dev -L eps $< $@
-cell-struct.pdf: cell-struct.fig
-	fig2dev -L pdf $< $@
-interaction.pdf: interaction.fig
-	fig2dev -L pdf $< $@
-
-tor-design.ps: cell-struct.eps interaction.eps tor-design.bib tor-design.tex usenix.sty latex8.bst
-	latex tor-design.tex
-	bibtex tor-design
-	latex tor-design.tex
-	latex tor-design.tex
-	dvips -o $@ tor-design.dvi
-
-tor-design.pdf: cell-struct.pdf interaction.pdf tor-design.bib tor-design.tex usenix.sty latex8.bst
-	pdflatex tor-design.tex
-	bibtex tor-design
-	pdflatex tor-design.tex
-	pdflatex tor-design.tex
-
-EXTRA_DIST = cell-struct.fig interaction.fig tor-design.bib usenix.sty latex8.bst tor-design.tex
-
-DISTCLEANFILES = cell-struct.eps interaction.eps cell-struct.pdf interaction.pdf tor-design.aux tor-design.bbl tor-design.blg tor-design.log tor-design.dvi tor-design.ps tor-design.pdf
-- 
1.6.5