Added tests.sh script, Makefile and updated documentation

This commit is contained in:
Marco Cetica
2023-03-14 11:12:16 +01:00
parent 8eb13e481c
commit f98a7e2269
3 changed files with 118 additions and 2 deletions

15
Makefile Normal file
View File

@@ -0,0 +1,15 @@
all:
install
install:
mkdir -p /usr/local/share/man/man1
cp -R backup.sh /usr/local/bin/backup.sh
cp -R backup.source.bk /usr/local/etc/backup_sources.bk
cp -R backup.sh.1 /usr/local/share/man/man1/backup.sh.1
chmod 755 /usr/local/bin/backup.sh
chmod 644 /usr/local/etc/backup_sources.bk
uninstall:
rm -rf /usr/local/bin/backup.sh
rm -ff /usr/local/etc/backup_sources.bk
rm -rf /usr/local/share/man/man1/backup.sh.1