8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Be sure to package .md filetypes with a .txt extension. Windows does not seem to have a native reader for this type.

This commit is contained in:
Paul Reeves 2020-04-28 16:29:11 +02:00
parent 52a8d42a99
commit 2b18b0e82a

View File

@ -329,13 +329,11 @@ for %%v in (IPLicense.txt IDPLicense.txt ) do (
:: Walk through all docs and transform any that are not .txt, .pdf or .html to .txt
@echo Setting .txt filetype to ascii docs.
for /R %FB_OUTPUT_DIR%\doc %%v in ( * ) do (
if /I not "%%~xv" == ".md" (
if /I not "%%~xv" == ".txt" (
if /I not "%%~xv" == ".pdf" (
if /I not "%%~xv" == ".htm" (
if /I not "%%~xv" == ".html" (
ren %%v %%~nxv.txt
)
if /I not "%%~xv" == ".txt" (
if /I not "%%~xv" == ".pdf" (
if /I not "%%~xv" == ".htm" (
if /I not "%%~xv" == ".html" (
ren %%v %%~nxv.txt
)
)
)