diff --git a/debian/proxmox-backup-client.install b/debian/proxmox-backup-client.install index 1ac22b56..0291bd8c 100644 --- a/debian/proxmox-backup-client.install +++ b/debian/proxmox-backup-client.install @@ -1,3 +1,4 @@ usr/bin/proxmox-backup-client usr/share/man/man1/proxmox-backup-client.1 usr/bin/pxar +usr/share/man/man1/pxar.1 diff --git a/docs/Makefile b/docs/Makefile index 6039529a..cb7ed57f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -12,6 +12,7 @@ GENERATED_SYNOPSIS := \ backup-protocol-api.rst MANUAL_PAGES := \ + pxar.1 \ proxmox-backup-proxy.1 \ proxmox-backup-client.1 \ proxmox-backup-manager.1 @@ -38,10 +39,15 @@ backup-protocol-api.rst: ${COMPILEDIR}/dump-backup-api # Build manual pages using rst2man +pxar/synopsis.rst: ${COMPILEDIR}/pxar + ${COMPILEDIR}/pxar printdoc > pxar/synopsis.rst + +pxar.1: pxar/man1.rst pxar/description.rst pxar/synopsis.rst + rst2man $< >$@ + proxmox-backup-client/synopsis.rst: ${COMPILEDIR}/proxmox-backup-client ${COMPILEDIR}/proxmox-backup-client printdoc > proxmox-backup-client/synopsis.rst - proxmox-backup-client.1: proxmox-backup-client/man1.rst proxmox-backup-client/description.rst proxmox-backup-client/synopsis.rst rst2man $< >$@ diff --git a/docs/command-line-tools.rst b/docs/command-line-tools.rst index 5638065f..3240c49f 100644 --- a/docs/command-line-tools.rst +++ b/docs/command-line-tools.rst @@ -11,3 +11,8 @@ Command Line Tools .. include:: proxmox-backup-manager/description.rst +``pxar`` +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. include:: pxar/description.rst + diff --git a/docs/conf.py b/docs/conf.py index d320a3ea..3c859e07 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -89,6 +89,7 @@ exclude_patterns = [ 'proxmox-backup-client/man1.rst', 'proxmox-backup-manager/man1.rst', 'proxmox-backup-proxy/man1.rst', + 'pxar/man1.rst', 'epilog.rst', 'pbs-copyright.rst', 'sysadmin.rst', diff --git a/docs/pxar/description.rst b/docs/pxar/description.rst new file mode 100644 index 00000000..34872663 --- /dev/null +++ b/docs/pxar/description.rst @@ -0,0 +1,4 @@ +This is just a test. + +.. NOTE:: No further info. + diff --git a/docs/pxar/man1.rst b/docs/pxar/man1.rst new file mode 100644 index 00000000..d30d53f8 --- /dev/null +++ b/docs/pxar/man1.rst @@ -0,0 +1,28 @@ +========================== +pxar +========================== + +.. include:: ../epilog.rst + +------------------------------------------------------------- +Proxmox File Archive Command Line Tool +------------------------------------------------------------- + +:Author: |AUTHOR| +:Version: Version |VERSION| +:Manual section: 1 + + +Synopsis +========== + +.. include:: synopsis.rst + +Description +============ + +.. include:: description.rst + + +.. include:: ../pbs-copyright.rst +