aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-02-07 23:54:48 +0000
committerRoger Dingledine <arma@torproject.org>2007-02-07 23:54:48 +0000
commitc8de93e59e132f17287ccc3777a0a456c67a6e39 (patch)
tree1640d04ba0a5b5a8df234437b9110ea74782e6a9 /contrib
parenta24b9e6a6604e1c092ec43f6ddc71016ac4f8bdb (diff)
downloadtor-c8de93e59e132f17287ccc3777a0a456c67a6e39.tar.gz
tor-c8de93e59e132f17287ccc3777a0a456c67a6e39.zip
update some of the win32 packaging scripts; stop shipping
tor-doc.html tor-doc.css. svn:r9515
Diffstat (limited to 'contrib')
-rw-r--r--contrib/package_nsis-mingw.sh11
-rw-r--r--contrib/package_nsis.sh2
-rw-r--r--contrib/tor-mingw.nsi.in12
-rw-r--r--contrib/tor.nsi.in12
4 files changed, 20 insertions, 17 deletions
diff --git a/contrib/package_nsis-mingw.sh b/contrib/package_nsis-mingw.sh
index 333302ea9e..0716bfa824 100644
--- a/contrib/package_nsis-mingw.sh
+++ b/contrib/package_nsis-mingw.sh
@@ -12,6 +12,7 @@ mkdir win_tmp
mkdir win_tmp/bin
mkdir win_tmp/contrib
mkdir win_tmp/doc
+mkdir win_tmp/doc/spec
mkdir win_tmp/doc/design-paper
mkdir win_tmp/doc/contrib
mkdir win_tmp/src
@@ -33,7 +34,6 @@ cp contrib/tor.ico win_tmp/bin/
#man2html doc/tor.1.in > win_tmp/tmp/tor-reference.html
#man2html doc/tor-resolve.1 > win_tmp/tmp/tor-resolve.html
-
clean_newlines() {
perl -pe 's/^\n$/\r\n/mg; s/([^\r])\n$/\1\r\n/mg;' $1 >$2
}
@@ -42,17 +42,17 @@ clean_localstatedir() {
perl -pe 's/^\n$/\r\n/mg; s/([^\r])\n$/\1\r\n/mg; s{\@LOCALSTATEDIR\@/(lib|log)/tor/}{C:\\Documents and Settings\\Application Data\\Tor\\}' $1 >$2
}
-for fn in socks-extensions.txt dir-spec.txt tor-spec.txt HACKING rend-spec.txt control-spec.txt tor-doc.html tor-doc.css version-spec.txt; do
- clean_newlines doc/$fn win_tmp/doc/$fn
+for fn in socks-extensions.txt dir-spec.txt tor-spec.txt rend-spec.txt control-spec.txt version-spec.txt; do
+ clean_newlines doc/spec/$fn win_tmp/doc/spec/$fn
done
cp doc/design-paper/tor-design.pdf win_tmp/doc/design-paper/tor-design.pdf
-for fn in tor-reference.html tor-resolve.html; do
+for fn in HACKING tor-reference.html tor-resolve.html; do
clean_newlines doc/$fn win_tmp/doc/$fn
done
-for fn in README AUTHORS ChangeLog LICENSE; do
+for fn in README AUTHORS ChangeLog LICENSE; do
clean_newlines $fn win_tmp/$fn
done
@@ -62,3 +62,4 @@ cp contrib/tor-mingw.nsi win_tmp/contrib/
cd win_tmp
"C:\Program Files\NSIS\makensis.exe" contrib/tor-mingw.nsi
+
diff --git a/contrib/package_nsis.sh b/contrib/package_nsis.sh
index d27f673068..863dfdff9d 100644
--- a/contrib/package_nsis.sh
+++ b/contrib/package_nsis.sh
@@ -4,6 +4,8 @@
# you have already built Tor, that you are running cygwin, and that your
# environment is basically exactly the same as Nick's.
+# This file is obsolete.
+
rm -rf win_tmp
mkdir win_tmp
mkdir win_tmp/bin
diff --git a/contrib/tor-mingw.nsi.in b/contrib/tor-mingw.nsi.in
index c6c58c2cb5..064c4fd9e8 100644
--- a/contrib/tor-mingw.nsi.in
+++ b/contrib/tor-mingw.nsi.in
@@ -101,12 +101,12 @@ Section "Documents" Docs
SetOutPath "$INSTDIR\Documents"
;File "doc\FAQ"
File "..\doc\HACKING"
- File "..\doc\control-spec.txt"
- File "..\doc\dir-spec.txt"
- File "..\doc\rend-spec.txt"
- File "..\doc\socks-extensions.txt"
- File "..\doc\tor-spec.txt"
- File "..\doc\version-spec.txt"
+ File "..\doc\spec\control-spec.txt"
+ File "..\doc\spec\dir-spec.txt"
+ File "..\doc\spec\rend-spec.txt"
+ File "..\doc\spec\socks-extensions.txt"
+ File "..\doc\spec\tor-spec.txt"
+ File "..\doc\spec\version-spec.txt"
;
; WEBSITE-FILES-HERE
;
diff --git a/contrib/tor.nsi.in b/contrib/tor.nsi.in
index 67597dc554..cc6702b085 100644
--- a/contrib/tor.nsi.in
+++ b/contrib/tor.nsi.in
@@ -124,12 +124,12 @@ Section "Documents" Docs
SetOutPath "$INSTDIR\Documents"
;File "..\doc\FAQ"
File "..\doc\HACKING"
- File "..\doc\control-spec.txt"
- File "..\doc\dir-spec.txt"
- File "..\doc\rend-spec.txt"
- File "..\doc\socks-extensions.txt"
- File "..\doc\tor-spec.txt"
- File "..\doc\version-spec.txt"
+ File "..\doc\spec\control-spec.txt"
+ File "..\doc\spec\dir-spec.txt"
+ File "..\doc\spec\rend-spec.txt"
+ File "..\doc\spec\socks-extensions.txt"
+ File "..\doc\spec\tor-spec.txt"
+ File "..\doc\spec\version-spec.txt"
;
; WEBSITE-FILES-HERE
;