Mercurial > libbuf
changeset 8:167277f57ce6 0.1.0
misc: update before 0.1.0
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 30 Oct 2020 13:03:55 +0100 |
parents | 4a166914a61f |
children | 3fe95429d3b0 |
files | Makefile |
diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Oct 30 12:59:55 2020 +0100 +++ b/Makefile Fri Oct 30 13:03:55 2020 +0100 @@ -30,6 +30,8 @@ LIBDIR= ${PREFIX}/lib MANDIR= ${PREFIX}/share/man +VERSION= 0.1.0 + SRCS= buf-clear.c \ buf-dup.c \ buf-erase.c \ @@ -87,6 +89,16 @@ rm -f libbuf.a ${OBJS} rm -f ${TESTS_OBJS} +dist: + rm -rf libbuf-${VERSION} + mkdir libbuf-${VERSION} + cp -R test extern libbuf-${VERSION} + cp ${SRCS} buf.h buf-int.h libbuf-${VERSION} + cp ${MAN} libbuf-${VERSION} + cp INSTALL.md LICENSE.md README.md Makefile Doxyfile libbuf-${VERSION} + tar -cjf libbuf-${VERSION}.tar.xz libbuf-${VERSION} + rm -rf libbuf-${VERSION} + doxygen: doxygen Doxyfile @@ -103,4 +115,4 @@ test: ${TESTS_OBJS} for t in ${TESTS_OBJS}; do ./$$t; done -.PHONY: all clean doxygen install test +.PHONY: all clean dist doxygen install test