mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Build: fix make clean to remove build artifacts from top-level directory
make lint and make dist were generating files which were not removed by make clean. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
committed by
Martin Basti
parent
dc58f8f2a1
commit
d20f6a5ef2
12
Makefile.am
12
Makefile.am
@@ -1,6 +1,11 @@
|
||||
SUBDIRS = asn1 util client contrib daemons init install ipaclient ipalib ipaplatform ipapython ipaserver ipatests po
|
||||
|
||||
MOSTLYCLEANFILES = ipasetup.pyc ipasetup.pyo
|
||||
MOSTLYCLEANFILES = ipasetup.pyc ipasetup.pyo \
|
||||
ignore_import_errors.pyc ignore_import_errors.pyo \
|
||||
ipasetup.pyc ipasetup.pyo \
|
||||
lite-server.pyc lite-server.pyo \
|
||||
pylint_plugins.pyc pylint_plugins.pyo \
|
||||
$(TARBALL)
|
||||
|
||||
# user-facing scripts
|
||||
dist_bin_SCRIPTS = ipa
|
||||
@@ -25,6 +30,11 @@ EXTRA_DIST = .mailmap \
|
||||
pylintrc \
|
||||
pytest.ini
|
||||
|
||||
clean-local:
|
||||
rm -rf "$(RPMBUILD)"
|
||||
rm -rf "$(top_builddir)/dist"
|
||||
rm -rf "$(top_srcdir)/__pycache__"
|
||||
|
||||
# convenience targets for RPM build
|
||||
RPMBUILD ?= $(abs_builddir)/rpmbuild
|
||||
TARBALL = $(PACKAGE)-$(VERSION).tar.gz
|
||||
|
||||
Reference in New Issue
Block a user