summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadna Vigo <arivigodr@gmail.com>2020-07-05 18:27:02 +0200
committerAriadna Vigo <arivigodr@gmail.com>2020-07-05 18:47:12 +0200
commitf34b43203146e9278a2e8ef34948ed70b1c9a404 (patch)
tree6c36e6a5049defd4f2438dd97ab929c2126e8803
parente8c3f2a77f6c24ef88195af97da9feb114ff004f (diff)
Cras 0.1.0
-rw-r--r--Makefile12
-rw-r--r--config.mk2
2 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c35893d..81a738d 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,15 @@ cras: ${OBJ}
${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
- rm -f cras ${OBJ}
+ rm -f cras ${OBJ} cras-${VERSION}.tar.gz
+
+dist: clean
+ mkdir -p cras-${VERSION}
+ cp -R LICENSE Makefile README.md arg.h config.def.h config.mk cras.1 \
+ tasklst.h ${SRC} cras-${VERSION}
+ tar -cf cras-${VERSION}.tar cras-${VERSION}
+ gzip cras-${VERSION}.tar
+ rm -rf cras-${VERSION}
install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
@@ -41,4 +49,4 @@ install: all
uninstall:
rm -f ${DESTDIR}${PREFIX}/bin/cras ${DESTDIR}${MANPREFIX}/man1/cras.1
-.PHONY: all options clean install uninstall
+.PHONY: all options clean dist install uninstall
diff --git a/config.mk b/config.mk
index f7fee3b..1c57f05 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# Cras version
-VERSION = 0.0.0
+VERSION = 0.1.0
# Customize below to your needs