Skip to content

Commit

Permalink
Makefile: Delete the source code archive after building the scst-dkms…
Browse files Browse the repository at this point in the history
…-rpm packages
  • Loading branch information
lnocturno committed Jan 10, 2023
1 parent 7b0a2f8 commit a7665a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ scst-rpm:
$(if $(KDIR),--define="%kdir $(KDIR)") \
--define="%pkg_build_mode $(PKG_BUILD_MODE)" \
-ba $${name}.spec && \
rm -f $${name}-$(VERSION).tar.bz2
rm -f scst-$(VERSION).tar.bz2

scst-dkms-rpm:
name=scst-dkms && \
Expand All @@ -369,7 +369,7 @@ scst-dkms-rpm:
$(if $(KDIR),--define="%kdir $(KDIR)") \
--define="%pkg_build_mode $(PKG_BUILD_MODE)" \
-ba $${name}.spec && \
rm -f $${name}-$(VERSION).tar.bz2
rm -f scst-$(VERSION).tar.bz2

rpm:
$(MAKE) scst-rpm
Expand Down

0 comments on commit a7665a4

Please sign in to comment.