diff options
author | 2022-06-11 00:08:12 -0300 | |
---|---|---|
committer | 2022-06-11 00:20:18 -0300 | |
commit | f9b72a6ba3c51b63fb286d4f3ba599da4b259994 (patch) | |
tree | 2a043fa7f1ea69916d2fd1e412bbcb724d4b8b88 /contrib/fj-mkdeb.py | |
parent | fix typo in firejail-welcome.sh (diff) | |
download | firejail-f9b72a6ba3c51b63fb286d4f3ba599da4b259994.tar.gz firejail-f9b72a6ba3c51b63fb286d4f3ba599da4b259994.tar.zst firejail-f9b72a6ba3c51b63fb286d4f3ba599da4b259994.zip |
Revert "fj-mkdeb.py: run distclean before ./configure"
This reverts commit b4d0b24c533c8aebb8961bf658e3b41580b073e2.
This amends commit 56b86f8ac ("Revert "Makefile.in: stop running
distclean on dist"", 2022-06-08) / PR #5182. Since the revert, `make
dist` itself already runs `make distclean`.
This also means that it is no longer necessary to run ./configure (to
generate "Makefile" from "Makefile.in") before running
./contrib/fj-mkdeb.py.
Misc: This is not a clean revert.
Relates to #5154.
Diffstat (limited to 'contrib/fj-mkdeb.py')
-rwxr-xr-x | contrib/fj-mkdeb.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/fj-mkdeb.py b/contrib/fj-mkdeb.py index f6611bee8..854e8d1a8 100755 --- a/contrib/fj-mkdeb.py +++ b/contrib/fj-mkdeb.py | |||
@@ -22,11 +22,6 @@ def run(srcdir, args): | |||
22 | # prefix should ALWAYS be /usr here. Discard user-set values | 22 | # prefix should ALWAYS be /usr here. Discard user-set values |
23 | args.remove(a) | 23 | args.remove(a) |
24 | 24 | ||
25 | # Remove generated files. | ||
26 | distclean = subprocess.call(['make', 'distclean']) | ||
27 | if distclean != 0: | ||
28 | return distclean | ||
29 | |||
30 | # Run configure to generate mkdeb.sh. | 25 | # Run configure to generate mkdeb.sh. |
31 | first_config = subprocess.call(['./configure', '--prefix=/usr'] + args) | 26 | first_config = subprocess.call(['./configure', '--prefix=/usr'] + args) |
32 | if first_config != 0: | 27 | if first_config != 0: |