add makefile to build a release

tokarchuk/v1.18
Nikita Tokarchuk 6 months ago
parent eb62dea91e
commit b9c4732e1b
Signed by: mainnika
GPG Key ID: 5CDEED14F48FA79D
  1. 2
      .gitignore
  2. 14
      tokarchuk/Makefile

2
.gitignore vendored

@ -112,3 +112,5 @@ prime/
# Manpage
/man
tokarchuk/custom.tar.gz

@ -0,0 +1,14 @@
.DEFAULT_GOAL := help
help:
@echo "Usage: make [target]"
@echo ""
@echo "Targets:"
@echo " archive Create a tar archive of the current directory"
archive:
@echo "Removing old archive..."
@rm -fv custom.tar.gz
@echo
@echo "Creating archive..."
@tar -czvf custom.tar.gz --exclude=Makefile --dereference *
Loading…
Cancel
Save