From 7b132b49dfab95ca47a75243092f7d5a0dedd5ef Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Mon, 25 May 2026 14:45:15 +0200 Subject: [PATCH] add man for scantopdf --- Makefile | 7 +++++++ src/man/scantopdf.1 | 16 ++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/man/scantopdf.1 diff --git a/Makefile b/Makefile index fe43ac5..57e00c0 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ PACKAGEDIR=$(BUILDDIR)/$(PACKAGENAME) PREFIX=usr BINDIR=$(PREFIX)/bin SHAREDIR=$(PREFIX)/share/doc/$(NAME) +MANDIR=$(PREFIX)/share/man ################################################################################ @@ -109,6 +110,11 @@ $(PACKAGEDIR)/$(SHAREDIR)/changelog.gz: mkdir --parents $(@D) gzip --stdout --no-name --best $(SRCDIR)/debian/changelog > $(@) +$(PACKAGEDIR)/$(MANDIR)/man1/scantopdf.1.gz: + + mkdir --parents $(@D) + gzip --stdout --no-name --best $(SRCDIR)/man/scantopdf.1 > $(@) + $(BUILDDIR)/$(PACKAGENAME).deb: \ $(PACKAGEDIR)/$(BINDIR)/scantopdf \ $(PACKAGEDIR)/$(BINDIR)/scantopdfgray \ @@ -118,6 +124,7 @@ $(BUILDDIR)/$(PACKAGENAME).deb: \ $(PACKAGEDIR)/$(SHAREDIR)/cutpage.html \ $(PACKAGEDIR)/$(SHAREDIR)/copyright \ $(PACKAGEDIR)/$(SHAREDIR)/changelog.gz \ + $(PACKAGEDIR)/$(MANDIR)/man1/scantopdf.1.gz \ $(PACKAGEDIR)/DEBIAN/control mkdir --parents $(@D) diff --git a/src/man/scantopdf.1 b/src/man/scantopdf.1 new file mode 100644 index 0000000..346ab09 --- /dev/null +++ b/src/man/scantopdf.1 @@ -0,0 +1,16 @@ +.TH scantopdf 1 2026-05-25 + +.SH NAME +scantopdf - scan documents to pdf in color + +.SH SYNOPSIS +scantopdf [] + +.SH OPTIONS +.P +.EX +pagecount number of pages to scan +output output name of pdf file with extension +keywords pdf keywords one string comma seperated without spaces +.EE +.P \ No newline at end of file -- 2.47.3