Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

dist Makefile rule, creates tarball with binaries

  • Loading branch information...
commit 062c4d058faa46b99efe6cebe98f849ea0241f83 1 parent 1fc5707
Sound and Fury authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 Makefile
View
9 Makefile
@@ -24,3 +24,12 @@ bits.o: bits.c bits.h
colour.o: colour.c colour.h
$(CC) $(CFLAGS) -o colour.o -c colour.c
+dist: all
+ VERSION = `git describe`
+ mkdir quirc_$(VERSION)
+ cp * quirc_$(VERSION)
+ rm quirc_$(VERSION)/.quirc*
+ tar -cvvf quirc_$(VERSION)
+ gzip quirc_$(VERSION).tar
+ rm -r quirc_$(VERSION)
+
Please sign in to comment.
Something went wrong with that request. Please try again.