Updated makefile to include backup option.

development
Shawn Davis 3 years ago
parent acaf466f25
commit 68b01d4620
  1. 9
      Makefile

@ -3,6 +3,9 @@
# The path to source code to be counted with cloc.
PACKAGE_NAME := scripttease
# The name of the project on disk.
PROJECT_NAME := python-scripttease
# The directory where test coverage is generated.
COVERAGE_PATH := docs/build/html/coverage
@ -17,6 +20,12 @@ help:
@cat Makefile | grep "^#>" | sed 's/\#\> //g';
@echo ""
#> backup - Create a backup of the project.
backup:
cd ~/Work && tar -czvf $(PROJECT_NAME).tgz $(PROJECT_NAME);
mv ~/Work/$(PROJECT_NAME).tgz ~/Dropbox/backups/;
#> dist - Create a distribution of the package.
dist:
cp DESCRIPTION.txt $(PACKAGE_NAME)/;

Loading…
Cancel
Save