Skip to content

Commit c2d58b3

Browse files
cgzonesjwcart2
authored andcommitted
Ignore egg-info directories and clean them
Test .gitignore and make clean distclean error: missing .gitignore entry for libselinux/src/selinux.egg-info/ error: missing .gitignore entry for python/sepolicy/sepolicy.egg-info/ Error: Process completed with exit code 1. error: "make clean distclean" did not remove libselinux/src/selinux.egg-info/PKG-INFO error: "make clean distclean" did not remove libselinux/src/selinux.egg-info/SOURCES.txt error: "make clean distclean" did not remove libselinux/src/selinux.egg-info/dependency_links.txt error: "make clean distclean" did not remove libselinux/src/selinux.egg-info/top_level.txt error: "make clean distclean" did not remove python/sepolicy/sepolicy.egg-info/PKG-INFO error: "make clean distclean" did not remove python/sepolicy/sepolicy.egg-info/SOURCES.txt error: "make clean distclean" did not remove python/sepolicy/sepolicy.egg-info/dependency_links.txt error: "make clean distclean" did not remove python/sepolicy/sepolicy.egg-info/top_level.txt Error: Process completed with exit code 1. Signed-off-by: Christian Göttsche <[email protected]> Acked-by: James Carter <[email protected]>
1 parent f304db8 commit c2d58b3

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

libselinux/src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
selinux.py
22
selinuxswig_python_wrap.c
33
selinuxswig_ruby_wrap.c
4+
selinux.egg-info/

libselinux/src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ relabel:
201201
clean-pywrap:
202202
-rm -f $(SWIGLOBJ) $(SWIGSO) $(AUDIT2WHYLOBJ) $(AUDIT2WHYSO)
203203
$(PYTHON) setup.py clean
204-
-rm -rf build *~ \#* *pyc .#*
204+
-rm -rf build *~ \#* *pyc .#* selinux.egg-info/
205205

206206
clean-rubywrap:
207207
-rm -f $(SWIGRUBYLOBJ) $(SWIGRUBYSO)

python/sepolicy/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
build
22
tmp
33
*.bak
4+
sepolicy.egg-info/

python/sepolicy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ python-build:
1818

1919
clean:
2020
$(PYTHON) setup.py clean
21-
-rm -rf build *~ \#* *pyc .#*
21+
-rm -rf build *~ \#* *pyc .#* sepolicy.egg-info/
2222

2323
sepolgen:
2424
ln -sf sepolicy sepolgen

0 commit comments

Comments
 (0)