-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
23 lines (19 loc) · 868 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FILENAME := temp.zip
EXCLUDES := '.git/*' '.github/*' '.gitignore' '.gitattributes' '.gitmodules' 'docs/*' Makefile
EXCLUDES += $(addprefix modules/plugins/dispels/, '.git' '.github/*' '.gitignore' '.gitattributes' Makefile)
EXCLUDES += $(addprefix modules/plugins/interrupts/, '.git' '.github/*' '.gitignore' '.gitattributes' Makefile)
EXCLUDES += $(addprefix modules/plugins/screenshots/, '.git' '.github/*' '.gitignore' '.gitattributes' Makefile)
EXCLUDES += $(addprefix modules/plugins/tooltips/, '.git' '.github/*' '.gitignore' '.gitattributes' Makefile)
.PHONY: changelog
changelog:
@git log -1 --pretty=%B | head -c -1
.PHONY: zip
zip:
@echo "Creating zip file..."
@zip -r $(FILENAME) * -x $(addprefix -x ,$(EXCLUDES))
@echo "$(FILENAME) created successfully."
.PHONY: clean
clean:
@echo "Cleaning up..."
@rm -f $(FILENAME)
@echo "Cleanup complete."