mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-12 16:50:21 +00:00
improve TLS behaviour in dashboard
This commit is contained in:
1 parent
96707acb4e
commit
7d9f76df05
4 files changed
+3056
-1652
No files matched your search
@@ -24,14 +24,13 @@ all: $(PROG) # Default target. Build and run program
|
||||
$(RUN) ./$(PROG) $(ARGS)
|
||||
|
||||
# Before embedding files, gzip them to save space
|
||||
packed_fs.c: $(FILES_TO_EMBED) Makefile
|
||||
packed_fs.c: ca.pem $(FILES_TO_EMBED) Makefile
|
||||
$(CC) ../../test/pack.c -o $(PACK)
|
||||
ifeq ($(OS),Windows_NT)
|
||||
$(PACK) $(FILES_TO_EMBED) > $@
|
||||
$(PACK) ca.pem $(FILES_TO_EMBED) > $@
|
||||
else
|
||||
rm -rf tmp/web_root && mkdir tmp && cp -r web_root tmp/
|
||||
find tmp -type f | xargs -n1 gzip
|
||||
cd tmp && ../pack `find web_root -type f` > ../$@
|
||||
rm -rf tmp/web_root && mkdir tmp && cp -r web_root tmp/ && cp -f ca.pem tmp/
|
||||
cd tmp && echo $(FILES_TO_EMBED) | xargs -n1 gzip && ../pack ca.pem `find web_root -type f` > ../$@
|
||||
endif
|
||||
|
||||
$(PROG): $(SOURCES) # Build program from sources
|
||||
|
||||
Reference in new issue
Block a user