diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit c0205f6fe64bcdb54cc18e4c2a6d97c968cfefa9
parent b691fa65848c83bfa54802152522bed12a3aa9d5
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sun, 13 Jun 2021 16:39:24 +0200

add srcdir

Diffstat:
MMakefile | 6++++--
Rcaldav.c -> src/caldav.c | 0
Rcaldav.h -> src/caldav.h | 0
Rdiary.c -> src/diary.c | 0
Rdiary.h -> src/diary.h | 0
Rutils.c -> src/utils.c | 0
Rutils.h -> src/utils.h | 0
7 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,10 +1,12 @@ TARGET = diary -SRC = utils.c caldav.c diary.c +SRCDIR = src/ +_SRC = utils.c caldav.c diary.c +SRC = $(addprefix $(SRCDIR), $(_SRC)) PREFIX ?= /usr/local BINDIR ?= $(DESTDIR)$(PREFIX)/bin MANDIR := $(DESTDIR)$(PREFIX)/share/man -MAN1 = diary.1 +MAN1 = man/diary.1 CC = gcc CFLAGS = -Wall \ diff --git a/caldav.c b/src/caldav.c diff --git a/caldav.h b/src/caldav.h diff --git a/diary.c b/src/diary.c diff --git a/diary.h b/src/diary.h diff --git a/utils.c b/src/utils.c diff --git a/utils.h b/src/utils.h