]> gitweb.hhaalo.de Git - scantopdf.git/commitdiff
add man page scantopdfbw
authorBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 12:51:12 +0000 (14:51 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 12:51:12 +0000 (14:51 +0200)
Makefile
src/man/scantopdfbw.1 [new file with mode: 0644]

index 57e00c05ca40a5c0ce5b752b28bfb7dc3e509135..2cc3940dc3a86a59c553744b4d710873eb13d8a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -115,6 +115,11 @@ $(PACKAGEDIR)/$(MANDIR)/man1/scantopdf.1.gz:
        mkdir --parents $(@D)
        gzip --stdout --no-name --best $(SRCDIR)/man/scantopdf.1 > $(@)
 
+$(PACKAGEDIR)/$(MANDIR)/man1/scantopdfbw.1.gz:
+
+       mkdir --parents $(@D)
+       gzip --stdout --no-name --best $(SRCDIR)/man/scantopdfbw.1 > $(@)
+
 $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(PACKAGEDIR)/$(BINDIR)/scantopdf \
        $(PACKAGEDIR)/$(BINDIR)/scantopdfgray \
@@ -125,6 +130,7 @@ $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(PACKAGEDIR)/$(SHAREDIR)/copyright \
        $(PACKAGEDIR)/$(SHAREDIR)/changelog.gz \
        $(PACKAGEDIR)/$(MANDIR)/man1/scantopdf.1.gz \
+       $(PACKAGEDIR)/$(MANDIR)/man1/scantopdfbw.1.gz \
        $(PACKAGEDIR)/DEBIAN/control
 
        mkdir --parents $(@D)
diff --git a/src/man/scantopdfbw.1 b/src/man/scantopdfbw.1
new file mode 100644 (file)
index 0000000..b068339
--- /dev/null
@@ -0,0 +1,16 @@
+.TH scantopdfbw 1 2026-05-25
+
+.SH NAME
+scantopdfbw - scan documents to pdf in color
+
+.SH SYNOPSIS
+scantopdfbw <pagecount> <output> [<keywords>]
+
+.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