blob: 205fb74bed89e6aa2e583d85ea438a9a98857686 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
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"
|