misc: update before 1.0.0 1.0.0

Thu, 17 Dec 2020 09:55:32 +0100

author
David Demelier <markand@malikania.fr>
date
Thu, 17 Dec 2020 09:55:32 +0100
changeset 24
2da99b7156de
parent 23
6081cc143d37
child 25
ea8c8664fa92

misc: update before 1.0.0

CHANGES.md file | annotate | diff | comparison | revisions
Makefile file | annotate | diff | comparison | revisions
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CHANGES.md	Thu Dec 17 09:55:32 2020 +0100
@@ -0,0 +1,7 @@
+backlight CHANGES
+=================
+
+backlight 1.0.0 -- 2020-12-17
+-----------------------------
+
+- Initial release.
--- a/Makefile	Thu Mar 26 12:35:53 2020 +0100
+++ b/Makefile	Thu Dec 17 09:55:32 2020 +0100
@@ -1,5 +1,5 @@
 #
-# Makefile for backlight
+# Makefile -- basic makefile for backlight
 #
 # Copyright (c) 2010-2020 David Demelier <markand@malikania.fr>
 #
@@ -26,6 +26,8 @@
 MANDIR=         ${PREFIX}/share/man
 LIBDIR=         ${PREFIX}/lib
 
+VERSION=        1.0.0
+
 PROG=           backlight
 SRCS=           backlight.c
 MAN1=           backlight.1
@@ -36,8 +38,6 @@
 ${PROG}: ${OBJS}
 	${CC} -o ${PROG} ${OBJS} ${LDFLAGS}
 
-clean:
-	rm -f ${OBJS} ${PROG}
 
 install: ${PROG}
 	mkdir -p ${DESTDIR}${BINDIR}
@@ -53,4 +53,13 @@
 install-setuid: install
 	chmod 4755 ${DESTDIR}${BINDIR}/${PROG}
 
-.PHONY: all clean install install-udev install-setuid
+dist: clean
+	mkdir backlight-${VERSION}
+	cp CHANGES.md INSTALL.md LICENSE.md Makefile README.md 50-brightness.rules backlight.1 backlight.c backlight-${VERSION}
+	tar -cJf backlight-${VERSION}.tar.xz backlight-${VERSION}
+	rm -rf backlight-${VERSION}
+
+clean:
+	rm -f ${OBJS} ${PROG}
+
+.PHONY: all clean dist install install-udev install-setuid

mercurial