diff --git a/.gitattributes b/.gitattributes index fe7dbd1..0715dcf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,6 +5,7 @@ *.mp3 binary *.lrc binary +Makefile text eol=lf *.md text /COPYING text /.gitignore text diff --git a/.gitignore b/.gitignore index 8f1faee..1573d7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /.vscode/ +/dejavuln-autoroot.zip diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..53d6ac1 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +ZIPOUT = dejavuln-autoroot.zip + +FILES = autoroot.sh hbchannel-0.6.3.ipk lol$$(sh$$IFS/tmp/usb/sda/sda1/autoroot.sh).mp3 lol$$(sh$$IFS/tmp/usb/sda/sda1/autoroot.sh).lrc + +.PHONY: all +all: $(ZIPOUT) + +$(ZIPOUT): $(FILES) + zip '$(@)' $(foreach f,$^,'$(f)') + +.PHONY: clean +clean: + rm -f -- '$(ZIPOUT)'