Skip to content

Commit

Permalink
Add the clean role to our make file
Browse files Browse the repository at this point in the history
  • Loading branch information
clarete committed Feb 9, 2015
1 parent b43b288 commit ab28b57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ TARGET=$(PACKAGE)-$(VERSION)
all:
$(info Available options)
$(info - package: Builds a tar package ready to be uploaded to marmalade)
$(info - clean: Clean the build directory)

package:
mkdir -p $(TARGET)
cp hackernews.el hackernews-pkg.el README.md Screenshot.png COPYING $(TARGET)
tar cf $(TARGET).tar $(TARGET)
rm -rf $(TARGET)

clean:
rm -rf $(PACKAGE)-*.tar

0 comments on commit ab28b57

Please sign in to comment.