Recently Written · git

tmpl

Insanely simple templates

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

Log | Files | Refs


make/templates/dist (384 bytes)

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