Skip to content

Commit

Permalink
build: use TARNAME and remove more paths on clean
Browse files Browse the repository at this point in the history
  • Loading branch information
kmk3 committed Feb 1, 2024
1 parent 152a21f commit 8a783cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ clean:
$(MAKE) -C test clean
rm -f $(SECCOMP_FILTERS)
rm -f $(SYNTAX_FILES)
rm -f firejail*.rpm
rm -fr $(TARNAME)-$(VERSION) $(TARNAME)-$(VERSION).tar.xz
rm -f $(TARNAME)*.deb
rm -f $(TARNAME)*.rpm

.PHONY: distclean
distclean: clean
Expand Down Expand Up @@ -326,7 +328,6 @@ DISTFILES_TEST = \

.PHONY: dist
dist: clean config.mk
rm -fr $(TARNAME)-$(VERSION) $(TARNAME)-$(VERSION).tar.xz
mkdir -p $(TARNAME)-$(VERSION)/test
cp -a $(DISTFILES) $(TARNAME)-$(VERSION)
cp -a $(DISTFILES_TEST) $(TARNAME)-$(VERSION)/test
Expand Down

0 comments on commit 8a783cd

Please sign in to comment.