Browse Source

add make file to create .gz files

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
master
Toshaan Bharvani 6 years ago
parent
commit
84cd635faf
  1. 9
      Makefile

9
Makefile

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
#!Makefile

.PHONY: build

all: build

build:
@find . -name '*.html' ! -name '*.gz' -type f -exec sh -c "gzip -c -9 < {} > {}.gz" \;
@find . ! -name '*.gz' -type f -exec sh -c "gzip -c -9 < {} > {}.gz" \;
Loading…
Cancel
Save