From: Bastian Dehn Date: Sat, 26 Sep 2026 16:18:22 +0000 (+0200) Subject: add man page X-Git-Tag: v1.0.0^2~1^2~1 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=0f42ad39742455f6fc6b2f85cf0821353766b62e;p=albentohandy.git add man page --- diff --git a/Makefile b/Makefile index 11795c5..d9d9365 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ SRCDIR=src BINDIR=usr/bin LIBDIR=usr/lib/$(NAME) SHAREDIR=usr/share/doc/$(NAME) +MANDIR=usr/share/man PACKAGE=$(NAME)_$(VERSION)-$(REVISION)$(EXTRA_VERSION)_x86_64 .PHONY: all build test clean package @@ -66,6 +67,11 @@ $(BUILDDIR)/$(PACKAGE)/$(SHAREDIR)/albentohandy.conf: cp $(SRCDIR)/albentohandy.conf $(@) chmod 644 $(@) +$(BUILDDIR)/$(PACKAGE)/$(MANDIR)/man1/albentohandy.1.gz: + mkdir --parents $(@D) + gzip --stdout --no-name --best $(SRCDIR)/man/albentohandy.1 > $(@) + chmod 644 $(@) + $(BUILDDIR)/$(PACKAGE)/$(SHAREDIR)/copyright: mkdir --parents $(@D) cp $(SRCDIR)/debian/copyright $(@) @@ -88,6 +94,7 @@ $(BUILDDIR)/$(PACKAGE).deb: $(BUILDDIR)/$(PACKAGE)/$(BINDIR)/albentohandy \ $(BUILDDIR)/$(PACKAGE)/$(SHAREDIR)/albentohandy.conf \ $(BUILDDIR)/$(PACKAGE)/$(SHAREDIR)/copyright \ $(BUILDDIR)/$(PACKAGE)/$(SHAREDIR)/changelog.gz \ + $(BUILDDIR)/$(PACKAGE)/$(MANDIR)/man1/albentohandy.1.gz \ $(BUILDDIR)/$(PACKAGE)/DEBIAN/control mkdir --parents $(@D) umask 0022 diff --git a/src/man/albentohandy.1 b/src/man/albentohandy.1 new file mode 100644 index 0000000..ca4ff61 --- /dev/null +++ b/src/man/albentohandy.1 @@ -0,0 +1,17 @@ +.TH albentohandy 1 2026-09-26 + +.SH NAME +albentohandy - convert flac to ogg, mp3, opus or flac from music collection + +.SH SYNOPSIS +albentohandy [-3fho]" + +.SH OPTIONS +.P +.EX +-3 convert to mp3" +-f convert to flac with cover" +-h show this usage" +-o convert to opus" +.EE +.P \ No newline at end of file