Simple configuration manager for a linux server using Makefile
Go to file
2022-07-28 18:55:41 +00:00
install.sh initial commit 2022-07-27 22:45:40 -04:00
LICENSE Add LICENSE 2022-07-28 02:47:49 +00:00
Makefile Update Makefile 2022-07-28 18:55:41 +00:00
README.md initial commit 2022-07-27 22:45:40 -04:00

makepac

makepacc is a simple package manager to keep all file changes in a linux server in a git repository.

Initial setup

mkdir myfiles
cd myfiles
git init
git submodule add https://gitlab.com/balki/makepac'
echo "include make-pac/Makefile" > Makefile'
make skel
git add .
git commit -m 'initial commit'

Now, create all the files inside the root directory and run make install to have it symlinked to the same path in the real root. Permissions and ownership of the files are recorded with make save-perms in ./acl. After making changes to the system, just make a git commit to record the state