Skip to content

Commit

Permalink
add release rule for Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorrison committed Aug 4, 2022
1 parent 010f237 commit 628e6f2
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ INCLUDE = include

PROG = dupsifter

.PHONY : setdebug debug build
.PHONY : profile debug build

build: exportcf $(PROG)

Expand Down Expand Up @@ -60,3 +60,17 @@ clean:

purge: clean
make -C $(LHTSLIB_DIR) clean

## clean to make a release zip
.PHONY: release
release:
rm -rf release-source.zip dupsifter-release
git clone . dupsifter-release
make -C dupsifter-release cleanse
zip -r release-source.zip dupsifter-release
rm -rf dupsifter-release

# removes git history, for release internal use
cleanse : purge
rm -f **/*.o .gitignore
rm -rf .git

0 comments on commit 628e6f2

Please sign in to comment.