aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-23 04:34:37 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-07-27 09:33:23 -0300
commit640bb303d19f48d357e0fc58b989ac1188546491 (patch)
tree04932a3b4209784444d298d3125f37f3b4589c3c /Makefile
parentbuild: remove remaining svn-related code (diff)
downloadfirejail-640bb303d19f48d357e0fc58b989ac1188546491.tar.gz
firejail-640bb303d19f48d357e0fc58b989ac1188546491.tar.zst
firejail-640bb303d19f48d357e0fc58b989ac1188546491.zip
build: make dist depend on just clean
The clean target is currently enough to remove all generated files other than the ones directly in the root directory, so to simplify the dist target, make it depend on clean instead of distclean. See commit 5f2785290 ("build: remove unnecessary distclean targets", 2023-07-15) / PR #5911. Relates to #5142 #5182.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index cb71b007e..4551ebad2 100644
--- a/Makefile
+++ b/Makefile
@@ -329,12 +329,7 @@ DISTFILES_TEST = \
329 test/utils 329 test/utils
330 330
331.PHONY: dist 331.PHONY: dist
332dist: config.mk 332dist: clean config.mk
333 mv config.sh config.sh.old
334 mv config.status config.status.old
335 $(MAKE) distclean
336 mv config.status.old config.status
337 mv config.sh.old config.sh
338 rm -fr $(TARNAME)-$(VERSION) $(TARNAME)-$(VERSION).tar.xz 333 rm -fr $(TARNAME)-$(VERSION) $(TARNAME)-$(VERSION).tar.xz
339 mkdir -p $(TARNAME)-$(VERSION)/test 334 mkdir -p $(TARNAME)-$(VERSION)/test
340 cp -a $(DISTFILES) $(TARNAME)-$(VERSION) 335 cp -a $(DISTFILES) $(TARNAME)-$(VERSION)