Skip to content

Commit

Permalink
build: Improved make clean
Browse files Browse the repository at this point in the history
Added some more files and folders to be remove when running make clean.
  • Loading branch information
garberg committed Oct 7, 2023
1 parent 227bba1 commit 98e6766
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ clean:
rm -f *.tar.gz
rm -f *.tar.xz
rm -f *.build
rm -f *.buildinfo
rm -f *.changes
rm -f *.dsc
rm -f *.diff.gz
Expand Down
5 changes: 3 additions & 2 deletions nipap-cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ upload:
clean:
$(PYTHON) setup.py clean
rm -rf .pybuild/ MANIFEST dist/ debian/tmp debian/$(PROJECT) debian/files \
.pc/ debian/$(PROJECT).debhelper.log debian/$(PROJECT).postinst.debhelper \
debian/$(PROJECT).prerm.debhelper debian/$(PROJECT).substvars nipap.1
.pc/ debian/$(PROJECT).debhelper.log debian/$(PROJECT).postinst.debhelper \
debian/$(PROJECT).prerm.debhelper debian/$(PROJECT).substvars nipap.1 \
debian/.debhelper
find . -name '*.pyc' -delete

VER := $(shell head -n1 ../NEWS | awk '{print $$2}')
Expand Down
3 changes: 2 additions & 1 deletion nipap-www/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ upload:

clean:
$(PYTHON) setup.py clean
rm -rf build/ MANIFEST dist/ debian/$(PROJECT)* debian/files .pc/ debian/patches
rm -rf build/ MANIFEST dist/ debian/$(PROJECT)* debian/files .pc/ debian/patches \
debian/.debhelper
find . -name '*.pyc' -delete
rm -rf data/sessions/container_file/*
rm -rf data/sessions/container_file_lock/*
Expand Down
3 changes: 2 additions & 1 deletion nipap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ clean:
debian/nipapd.prerm.debhelper debian/nipapd.substvars \
debian/nipap-common.debhelper.log \
debian/nipap-common.postinst.debhelper \
debian/nipap-common.prerm.debhelper debian/nipap-common.substvars
debian/nipap-common.prerm.debhelper debian/nipap-common.substvars \
debian/.debhelper
find . -name '*.pyc' -delete

VER := $(shell head -n1 ../NEWS | awk '{print $$2}')
Expand Down
2 changes: 1 addition & 1 deletion pynipap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ upload:
clean:
$(PYTHON) setup.py clean
rm -rf .pybuild/ MANIFEST dist/ debian/files debian/python-pynipap* \
debian/python3-pynipap* debian/$(PROJECT).substvars
debian/python3-pynipap* debian/$(PROJECT).substvars debian/.debhelper
find . -name '*.pyc' -delete

VER := $(shell head -n1 ../NEWS | awk '{print $$2}')
Expand Down
6 changes: 3 additions & 3 deletions whoisd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ upload:
clean:
$(PYTHON) setup.py clean
rm -rf build/ MANIFEST dist/ debian/tmp debian/$(PROJECT) debian/files \
.pc/ debian/$(PROJECT).debhelper.log debian/$(PROJECT).postinst.debhelper \
debian/$(PROJECT).prerm.debhelper debian/$(PROJECT).postrm.debhelper \
debian/$(PROJECT).substvars nipap-whoisd.8
.pc/ debian/$(PROJECT).debhelper.log debian/$(PROJECT).postinst.debhelper \
debian/$(PROJECT).prerm.debhelper debian/$(PROJECT).postrm.debhelper \
debian/$(PROJECT).substvars nipap-whoisd.8 debian/.debhelper
find . -name '*.pyc' -delete

VER := $(shell head -n1 ../NEWS | awk '{print $$2}')
Expand Down

0 comments on commit 98e6766

Please sign in to comment.