From 59c01a556ada289caa143be8301868035fcf89ef Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Fri, 11 Apr 2025 17:44:49 +0200 Subject: renamed project to libman since it's for more than just anime --- .gitignore | 2 +- Makefile | 14 +++++++------- README.md | 41 ++++++++++++++++++++++------------------- 3 files changed, 30 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 27c573e..0028175 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ old_main.c *.db *.o -myal +libman diff --git a/Makefile b/Makefile index d42e755..ffbf78f 100644 --- a/Makefile +++ b/Makefile @@ -11,27 +11,27 @@ CFLAGS = -Wall -Wextra LIBS = -lsqlite3 SRC = main.c dbhandling.c OBJ = ${SRC:.c=.o} -BIN = myal +BIN = libman all: options ${BIN} options: - @echo myal build options: + @echo ${BIN} build options: @echo "CFLAGS = ${CFLAGS}" @echo "CC = ${CC}" .c.o: ${CC} -c ${CFLAGS} ${SRC} -myal: .c.o - ${CC} ${CFLAGS} ${LIBS} ${OBJ} -o myal +libman: .c.o + ${CC} ${CFLAGS} ${LIBS} ${OBJ} -o ${BIN} install: - ${INSTALL_PROGRAM} myal ${PREFIX}${BINDIR}/myal + ${INSTALL_PROGRAM} ${BIN} ${PREFIX}${BINDIR}/${BIN} clean: - ${RM} myal + ${RM} ${BIN} ${RM} ${OBJ} uninstall: - ${RM} /usr/local/bin/myal + ${RM} ${PREFIX}/${BINDIR}/${BIN} diff --git a/README.md b/README.md index 291a913..2c08995 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ -# myal - My Anime Library +# libman - Library Manager ## Overview -My Anime Library is a CLI-Tool to manage an anime and manga list. -I used to track which anime I have watched and what episode I'm on by writing in -a text file, which got annoying after a while. -This is why I created this tool to keep anime and manga organized in a sqlite3 -database. +Library Manager is a CLI-Tool to manage a library of anime and manga. +I used to track which anime I have watched and what episode I'm on by +writing in a text file, which got annoying after a while. +This is why I created this tool to keep everything organized in a +sqlite3 database. ## Quickstart -You need a database with tables `anime` and `manga`. Attached in this repo -is a setup script for the database. Simply execute +You need a database with tables `anime` and `manga`. Attached in this +repo is a setup script for the database. Simply execute ``` sqlite3 library.db