mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Makefile: Only report which RPMs have been built if "make rpm" is run as a non-privileged user
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5560 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
8
Makefile
8
Makefile
@@ -402,9 +402,11 @@ scst-rpm:
|
||||
rpm:
|
||||
$(MAKE) scst-rpm
|
||||
$(MAKE) -C scstadmin rpm
|
||||
@echo
|
||||
@echo "The following RPMs have been built:"
|
||||
@find -name '*.rpm'
|
||||
@if [ "$$(id -u)" != 0 ]; then \
|
||||
echo; \
|
||||
echo "The following RPMs have been built:"; \
|
||||
find -name '*.rpm'; \
|
||||
fi
|
||||
|
||||
2perf: extraclean
|
||||
cd $(SCST_DIR) && $(MAKE) $@
|
||||
|
||||
Reference in New Issue
Block a user