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

index e422e2e430c7055860b12babca901db39a4d6b01..f137719d70f2056a1386f42b277056bb0217b6fa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -125,6 +125,11 @@ $(PACKAGEDIR)/$(MANDIR)/man1/scantopdfbw.1.gz:
        mkdir --parents $(@D)
        gzip --stdout --no-name --best $(SRCDIR)/man/scantopdfbw.1 > $(@)
 
+$(PACKAGEDIR)/$(MANDIR)/man1/addkeywords.1.gz:
+
+       mkdir --parents $(@D)
+       gzip --stdout --no-name --best $(SRCDIR)/man/addkeywords.1 > $(@)
+
 $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(PACKAGEDIR)/$(BINDIR)/scantopdf \
        $(PACKAGEDIR)/$(BINDIR)/scantopdfgray \
@@ -137,6 +142,7 @@ $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(PACKAGEDIR)/$(MANDIR)/man1/scantopdf.1.gz \
        $(PACKAGEDIR)/$(MANDIR)/man1/scantopdfgray.1.gz \
        $(PACKAGEDIR)/$(MANDIR)/man1/scantopdfbw.1.gz \
+       $(PACKAGEDIR)/$(MANDIR)/man1/addkeywords.1.gz \
        $(PACKAGEDIR)/DEBIAN/control
 
        mkdir --parents $(@D)
diff --git a/src/man/addkeywords.1 b/src/man/addkeywords.1
new file mode 100644 (file)
index 0000000..a01611a
--- /dev/null
@@ -0,0 +1,15 @@
+.TH addkeywords 1 2026-05-25
+
+.SH NAME
+addkeywords - it add keywords in a pdf file
+
+.SH SYNOPSIS
+addkeywords <file> <keywords>
+
+.SH OPTIONS
+.P
+.EX
+file          pdf file name with extension
+keywords      pdf keywords one string comma seperated without spaces
+.EE
+.P
\ No newline at end of file