Recently Written · git

tmpl

Insanely simple templates

git clone https://github.com/equwal/tmpl

Log | Files | Refs


make/templates/dist (335 bytes)

1 include config.mk
2 
3 # A super minimal makefile for deployment of a tarball.
4 
5 FOLDER="<++>"
6 
7 dist:
8 	@echo creating dist tarball
9 	@mkdir -p ${FOLDER}-${VERSION}-temp
10 	@cp -R ${FOLDER} ${FOLDER}-${VERSION}-temp
11 	@tar -cf ${FOLDER}-${VERSION}.tar ${FOLDER}-${VERSION}-temp
12 	@gzip ${FOLDER}-${VERSION}.tar
13 	@rm -rf ${FOLDER}-${VERSION}-temp