From b4448db3ee294d70059bdccf4025d5535e0613e6 Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda <jirikalvoda@kam.mff.cuni.cz> Date: Sun, 24 Jan 2021 14:42:31 +0100 Subject: [PATCH] Make: Add target install --- Makefile | 11 ++++++++++- README | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e9ffaa..b59e213 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION=1.1 ARCHIVE=osdd-$(VERSION).tar.gz -CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 +CFLAGS=-g3 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 all: osdd osdc osd-batt osd-alsa @@ -23,6 +23,15 @@ display.o: CFLAGS+=$(shell pkg-config --cflags xft) clean: rm -f *~ *.o TAGS core osdd osdc osd-batt osd-alsa +install: + cp osdd osdc not2osd osd-alsa osd-batt osd-clock osdd-run osd-mpc-volume not2osd /usr/bin + +compile-install: + $(MAKE) all + sudo $(MAKE) install + + + release: git tag v$(VERSION) git push --tags diff --git a/README b/README index de074fb..e783379 100644 --- a/README +++ b/README @@ -3,6 +3,7 @@ On-Screen Display Daemon (c) 2010 Martin Mares <mj@ucw.cz> + (c) 2021 Jiří Kalvoda <jirikalvoda@kam.mff.cuni.cz> You can use and distribute this program under the terms of GPLv2. -- GitLab