Skip to content

Commit

Permalink
Revert "fj-mkdeb.py: run distclean before ./configure"
Browse files Browse the repository at this point in the history
This reverts commit b4d0b24.

This amends commit 56b86f8 ("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.
  • Loading branch information
kmk3 committed Jun 11, 2022
1 parent d69c77c commit f9b72a6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contrib/fj-mkdeb.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ def run(srcdir, args):
# prefix should ALWAYS be /usr here. Discard user-set values
args.remove(a)

# Remove generated files.
distclean = subprocess.call(['make', 'distclean'])
if distclean != 0:
return distclean

# Run configure to generate mkdeb.sh.
first_config = subprocess.call(['./configure', '--prefix=/usr'] + args)
if first_config != 0:
Expand Down

0 comments on commit f9b72a6

Please sign in to comment.