Skip to content

Commit

Permalink
fix(Makefile): remove leftover rpm build rules
Browse files Browse the repository at this point in the history
  • Loading branch information
LaszloGombos committed Jun 26, 2023
1 parent ffc766d commit f5cc202
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ endif

HAVE_SHELLCHECK ?= $(shell command -v shellcheck >/dev/null 2>&1 && echo yes)
HAVE_SHFMT ?= $(shell command -v shfmt >/dev/null 2>&1 && echo yes)
HAVE_RPMBUILD ?= $(shell command -v rpmbuild >/dev/null 2>&1 && echo yes)

-include Makefile.inc

Expand Down Expand Up @@ -49,7 +48,7 @@ man8pages = man/dracut.8 \

manpages = $(man1pages) $(man5pages) $(man7pages) $(man8pages)

.PHONY: install clean archive rpm srpm testimage test all check AUTHORS CONTRIBUTORS doc dracut-version.sh
.PHONY: install clean archive testimage test all check AUTHORS CONTRIBUTORS doc dracut-version.sh

all: dracut-version.sh dracut.pc dracut-install src/skipcpio/skipcpio dracut-util

Expand Down Expand Up @@ -229,7 +228,7 @@ clean:
$(RM) */*/*~
$(RM) $(manpages:%=%.xml) dracut.xml
$(RM) test-*.img
$(RM) dracut-*.rpm dracut-*.tar.bz2 dracut-*.tar.xz
$(RM) dracut-*.tar.bz2 dracut-*.tar.xz
$(RM) dracut-version.sh
$(RM) dracut-install src/install/dracut-install $(DRACUT_INSTALL_OBJECTS)
$(RM) skipcpio/skipcpio $(SKIPCPIO_OBJECTS)
Expand Down Expand Up @@ -270,7 +269,7 @@ else
endif
endif

check: all syncheck rpm
check: all syncheck
@[ "$$EUID" == "0" ] || { echo "'check' must be run as root! Please use 'sudo'."; exit 1; }
@$(MAKE) -C test check

Expand Down

0 comments on commit f5cc202

Please sign in to comment.