]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
add backupmount man page
authorBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 13:35:21 +0000 (15:35 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 25 May 2026 13:35:21 +0000 (15:35 +0200)
Makefile
src/man/backupmount.1 [new file with mode: 0644]

index d1fde086ff43ae1787b3103425746721acb39707..5241247bb0fb1f0224e1202ed11159b93dfba4b0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,10 @@ $(MANDIR)/man1/backup.1.gz:
        mkdir --parents $(@D)
        gzip --stdout --no-name --best $(SRCDIR)/man/backup.1 > $(@)
 
+$(MANDIR)/man1/backupmount.1.gz:
+       mkdir --parents $(@D)
+       gzip --stdout --no-name --best $(SRCDIR)/man/backupmount.1 > $(@)
+
 $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(BINDIR)/backup \
        $(BINDIR)/backupmount \
@@ -62,6 +66,7 @@ $(BUILDDIR)/$(PACKAGENAME).deb: \
        $(SHAREDIR)/copyright \
        $(SHAREDIR)/changelog.gz \
        $(MANDIR)/man1/backup.1.gz \
+       $(MANDIR)/man1/backupmount.1.gz \
        $(BUILDDIR)/$(PACKAGENAME)/DEBIAN/control
 
        mkdir --parents $(@D)
diff --git a/src/man/backupmount.1 b/src/man/backupmount.1
new file mode 100644 (file)
index 0000000..1c7c7bd
--- /dev/null
@@ -0,0 +1,8 @@
+.TH backupmount 1 2026-05-25
+
+.SH NAME
+backupmount - is a bash script to mount luks hdds
+
+.SH CONFIGURATION
+copy config-example.yaml from docs folder into folder it should run
+backupmount scripts. it must configurate backup_volume and media.
\ No newline at end of file