Don't use -DD option.

The Info-ZIP version of unzip supports this but the FreeBSD doesn't.
We can get the same result by touching the file after extract.
This commit is contained in:
Simon Howard 2023-10-14 13:51:32 -04:00
parent 0f380f7778
commit a24ca489c8

View file

@ -3,7 +3,7 @@ export SOURCE_PORT=/usr/games/chocolate-doom
# Quiet output, convert to lower case, don't restore timestamps, # Quiet output, convert to lower case, don't restore timestamps,
# overwrite without prompt, extract to extract/ directory. # overwrite without prompt, extract to extract/ directory.
UNZIPOPTS = -q -LL -DD -o -d extract UNZIPOPTS = -q -LL -o -d extract
OUTPUTS = OUTPUTS =
WADS = extract/miniwad.wad WADS = extract/miniwad.wad
@ -12,6 +12,7 @@ all: check
extract/%: extract/%:
unzip $(UNZIPOPTS) $< $(subst extract/,,$@) unzip $(UNZIPOPTS) $< $(subst extract/,,$@)
touch $@
extract/miniwad.wad: miniwad.zip extract/miniwad.wad: miniwad.zip
testrunner: $(SOURCE_PORT) extract/miniwad.wad testrunner: $(SOURCE_PORT) extract/miniwad.wad