Library and program to automate creating DVD/Blu-ray backups using MakeMKV.
mkdir build && cd build
cmake ..
make
sudo make install
./makemkv-backup --device=/dev/sr0 --path="/output/path"
If you wish to build a Debian package, follow these steps:
-
Ensure the
rules
file is executable:sudo chmod +x debian/rules
-
Build the package:
- Without signing:
sudo dpkg-buildpackage -uc -us
- With signing (replace
<KEY_ID>
with your GPG key ID):To list your GPG keys, usesudo dpkg-buildpackage -k<KEY_ID>
gpg --list-keys
.
- Without signing:
-
Cleanup build files:
After building the package, remove temporary files with:sudo debclean
This ensures your workspace is clean and free of leftover build artifacts.
- Ensure you use
sudo
for all commands. - Your newly created package files will be in the parent directory.