comparison README.md @ 115:a65746fafc90

README: Warn about deleting files in the web repo.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Tue, 15 Nov 2016 22:29:44 +0100
parents 6271c701830d
children 22f0158e5848
comparison
equal deleted inserted replaced
114:9f48dc9ba715 115:a65746fafc90
134 cvs -z3 -d:ext:<Savannah account>@cvs.savannah.gnu.org:/web/octave checkout -P octave 134 cvs -z3 -d:ext:<Savannah account>@cvs.savannah.gnu.org:/web/octave checkout -P octave
135 135
136 Now the following steps are required for deployment 136 Now the following steps are required for deployment
137 (see [here][9] and [here][10] for some introduction to CVS): 137 (see [here][9] and [here][10] for some introduction to CVS):
138 138
139 1. Remove all previous files in the target directory, 139 1. **DO THIS CAREFULLY!!!** If unsure, start with 2.
140
141 Remove all previous files in the target directory,
140 *but no directories at all or CVS related stuff*! 142 *but no directories at all or CVS related stuff*!
141 This is due to a [limitation of CVS][11]. 143 This is due to a [limitation of CVS][11].
142 144
143 find octave -type f -not -path "*/CVS/*" -exec rm -f '{}' \; 145 find <DIR> -type f -not -path "*/CVS/*" -exec rm -f '{}' \;
144
145 *Note:* `octave` in the command above is the name of the checked out
146 [Savannah CVS][3] repository.
147 146
148 2. Now copy the new content of [web-octave][2] subdirectory `_site` into the 147 2. Now copy the new content of [web-octave][2] subdirectory `_site` into the
149 [Savannah CVS][3] repository. 148 [Savannah CVS][3] repository.
150 149
151 3. Then in the [Savannah CVS][3] repository: 150 3. Then in the [Savannah CVS][3] repository: