@@ -160,6 +160,10 @@ Options:
160
160
per line, without renaming the files. A successful
161
161
query returns exit code 0.
162
162
-r, --recursive Traverse subdirectories recursively.
163
+ --set-backport STRING Set %backport% mapping to STRING.
164
+ --set-fake STRINGS Set %fake%, %fake_status%, and %retail% mappings to
165
+ two comma-separated STRINGS. The first string
166
+ replaces %fake%, the second one %retail%.
163
167
--set-type CATEGORIES Set %type% mapping to comma-separated string
164
168
CATEGORIES (see section "Pattern variables").
165
169
--tagfile FILE Load additional %release% tags from text file FILE,
@@ -217,13 +221,13 @@ A successful query returns exit code 0. On error, the list is incomplete and a n
217
221
218
222
## How to compile...
219
223
220
- ...for Linux/Unix (requires libcurl and OpenSSL development files ):
224
+ ...for Linux/Unix (requires libcurl development headers; for Debian-based distros "libcurl4-xxx-dev" ):
221
225
222
- gcc -Wall -Wextra -- pedantic pkgrename.c src/*.c -o pkgrename -lcrypto -lcurl -pthread -s -O3
226
+ gcc -Wall -Wextra -pedantic pkgrename.c src/*.c -o pkgrename -lcurl -pthread -s -O3
223
227
224
- ...for Windows (not working anymore for the current code; stay tuned) :
228
+ ...for Windows:
225
229
226
- x86_64-w64-mingw32-gcc-win32 -Wall -Wextra -pedantic pkgrename.c src/*.c -o pkgrename.exe -- static -pthread -s -O3
230
+ x86_64-w64-mingw32-gcc-win32 -Wall -Wextra -pedantic pkgrename.c src/*.c -o pkgrename.exe -static -pthread -s -O3
227
231
228
232
Or download a compiled Windows release at https://github.com/hippie68/pkgrename/releases .
229
233
0 commit comments