From: Bastian Dehn Date: Sat, 26 Sep 2026 10:22:12 +0000 (+0200) Subject: add config to build X-Git-Tag: v1.0.0^2~1^2~9 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=bd15dc9673df7a0332e37aaf149f7a2b21b926b3;p=albentohandy.git add config to build --- diff --git a/Makefile b/Makefile index 8595b63..663672e 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ +NAME=albentohandy VERSION=1.0.0 REVISION=1 BUILDDIR=build SRCDIR=src BINDIR=usr/bin -LIBDIR=usr/lib/albentohandy -PACKAGE=albentohandy_$(VERSION)-$(REVISION)_x86_64 +LIBDIR=usr/lib/$(NAME) +SHAREDIR=usr/share/doc/$(NAME) +PACKAGE=$(NAME)_$(VERSION)-$(REVISION)_x86_64 .PHONY: all build test clean @@ -14,7 +16,8 @@ build: $(BUILDDIR)/$(PACKAGE)/$(BINDIR)/albentohandy \ $(BUILDDIR)/$(PACKAGE)/$(LIBDIR)/vorbis.sh \ $(BUILDDIR)/$(PACKAGE)/$(LIBDIR)/mp3.sh \ $(BUILDDIR)/$(PACKAGE)/$(LIBDIR)/opus.sh \ - $(BUILDDIR)/$(PACKAGE)/$(LIBDIR)/flac.sh + $(BUILDDIR)/$(PACKAGE)/$(LIBDIR)/flac.sh \ + $(BUILDDIR)/$(PACKAGE)/$(SHAREDIR)/albentohandy.conf test: ./tests/albentohandy.bats @@ -49,4 +52,8 @@ $(BUILDDIR)/$(PACKAGE)/$(LIBDIR)/opus.sh: $(BUILDDIR)/$(PACKAGE)/$(LIBDIR)/flac.sh: mkdir --parents $(@D) cp $(SRCDIR)/lib/flac.sh $(@) - shellcheck $(@) \ No newline at end of file + shellcheck $(@) + +$(BUILDDIR)/$(PACKAGE)/$(SHAREDIR)/albentohandy.conf: + mkdir --parents $(@D) + cp $(SRCDIR)/albentohandy.conf $(@) \ No newline at end of file diff --git a/src/albentohandy.conf b/src/albentohandy.conf new file mode 100644 index 0000000..edfc8e4 --- /dev/null +++ b/src/albentohandy.conf @@ -0,0 +1,7 @@ +#!/bin/bash + +MUSIC_PATH="$HOME/Music" +# BITRATE="192" +# QUALITY="6" +# OUTPUT_PATH= +# LIB_PATH= \ No newline at end of file