mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 04:36:22 +00:00
Makefile: Introduce the 'make rpm-dkms'
For convenience, there is a lack of opportunity to build the SCST dkms and scstadmin packages in a one command. Introduce the 'make rpm-dkms' command that in similar way to 'make rpm' builds SCST dkms rpm packages and then builds scstadmin rpm packages.
This commit is contained in:
committed by
Gleb Chesnokov
parent
f1a0222f2b
commit
e9c9cc8b6a
@@ -364,6 +364,15 @@ rpm:
|
||||
find -name '*.rpm'; \
|
||||
fi
|
||||
|
||||
rpm-dkms:
|
||||
$(MAKE) scst-dkms-rpm
|
||||
$(MAKE) -C scstadmin rpm
|
||||
@if [ "$$(id -u)" != 0 ]; then \
|
||||
echo; \
|
||||
echo "The following RPMs have been built:"; \
|
||||
find -name '*.rpm'; \
|
||||
fi
|
||||
|
||||
debian/changelog: debian/changelog.in
|
||||
sed 's/%{scst_version}/$(VERSION)-$(DEBIAN_REVISION)/' \
|
||||
<debian/changelog.in >debian/changelog
|
||||
|
||||
Reference in New Issue
Block a user