diff options
author | H. P. <harald.p.@bechtle.com> | 2019-11-25 10:04:43 +0100 |
---|---|---|
committer | H. P. <harald.p.@bechtle.com> | 2019-11-25 10:04:43 +0100 |
commit | 737cf3c79a03489a53b250cf53cf2a8f53f603a4 (patch) | |
tree | f6bd73a2c3a78e3731c413d4ebd09fc47c477139 /documentation/Makefile | |
parent | 7bde242bc4d99505955f023b4a71aa08b3a762fd (diff) | |
download | rhel-scripts-737cf3c79a03489a53b250cf53cf2a8f53f603a4.tar.bz2 |
+documentation scripts
Diffstat (limited to 'documentation/Makefile')
-rw-r--r-- | documentation/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/documentation/Makefile b/documentation/Makefile new file mode 100644 index 0000000..83eb936 --- /dev/null +++ b/documentation/Makefile @@ -0,0 +1,31 @@ +VERSION = 3.81 + +all: block-inventory dnf-history kvm-inventory git-inventory + +block-inventory: + @./aux/block-inventory + +yum-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 "yum-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" |