treewide: remove COMMITCOUNT
authorKuan-Yi Li <kyli@abysm.org>
Sat, 10 Jun 2023 03:43:42 +0000 (11:43 +0800)
committerPaul Spooren <mail@aparcar.org>
Tue, 13 Jun 2023 13:55:02 +0000 (15:55 +0200)
commitba75322534f73923f7c1f457aca9e461aea57c16
tree493d4e986488a9e94cee24c71e2540f73f6fbbdc
parent81d53813d63dcbedf1489946af9854070c3b80a0
treewide: remove COMMITCOUNT

Automatically compute and substitute current values for all
$(COMMITCOUNT) instances as this feature is deprecated and shouldn't be
used.

Based on commit 0c10c224be81:

Change COMMITCOUNT in rules.mk to:
```
COMMITCOUNT = $(if $(DUMP),0,$(shell sed -i "s/\$$(COMMITCOUNT)/$(call commitcount)/" $(CURDIR)/Makefile))
```

then update all affected packages by:
```
for i in $(git -C feeds/packages grep -l COMMITCOUNT | sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/clean
done
```

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
utils/attendedsysupgrade-common/Makefile
utils/fakeuname/Makefile