Skip to content

Commit ae4ae6c

Browse files
authored
Update README.md
1 parent 2e0d6fe commit ae4ae6c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ Options:
160160
per line, without renaming the files. A successful
161161
query returns exit code 0.
162162
-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%.
163167
--set-type CATEGORIES Set %type% mapping to comma-separated string
164168
CATEGORIES (see section "Pattern variables").
165169
--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
217221

218222
## How to compile...
219223

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"):
221225

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
223227

224-
...for Windows (not working anymore for the current code; stay tuned):
228+
...for Windows:
225229

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
227231

228232
Or download a compiled Windows release at https://github.com/hippie68/pkgrename/releases.
229233

0 commit comments

Comments
 (0)