summaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
parente8c3f2a77f6c24ef88195af97da9feb114ff004f (diff)
Cras 0.1.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 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