VERSION = 3.81 all: block-inventory dnf-history kvm-inventory git-inventory block-inventory: @./aux/block-inventory dnf-history: @echo -n 'Fetching user-installed packages...' @sudo dnf history userinstalled > ./packages&&echo 'done.' kvm-inventory: @./aux/kvm-inventory git-inventory: @./aux/git-inventory PHONY: help help: @echo "Update the documentation automatically." @echo @echo "Following make targets are understood (try tab-completion)" @echo @echo -e "block-inventory\tUpdate the block devices list" @echo -e "dnf-history\tUpdate the dnf history rawfile (in case of git repo:" @echo -e "\t\toutput is in .gitignore and needs to be parsed)" @echo -e "git-inventory\tUpdate the git inventory" @echo -e "help\t\tThis help" @echo -e "kvm-inventory\tUpdate the KVM inventory" @echo -e "all\t\tThe traditional one: all of the worker targets above"