Enhance clean.sh to remove all Debian package building artifacts

- Added cleanup for dist/ directory Debian files (moved by build.sh)
- Added cleanup for root directory Debian files (fallback)
- Added cleanup for wssshtools/debian/ build artifacts:
  - debian/wsssh-tools/ build directory
  - debian/files
  - debian/*.debhelper* files
  - debian/*.substvars files
  - debian/debhelper-build-stamp
- Ensures complete cleanup of all Debian packaging artifacts
- Maintains existing cleanup for PyInstaller and C build artifacts
parent 26c706cd
...@@ -15,10 +15,23 @@ if [ -d "wssshtools" ]; then ...@@ -15,10 +15,23 @@ if [ -d "wssshtools" ]; then
fi fi
# Remove Debian packaging artifacts # Remove Debian packaging artifacts
rm -f ../wsssh-tools*.deb rm -f dist/wsssh-tools*.deb
rm -f ../wsssh-tools*.dsc rm -f dist/wsssh-tools*.dsc
rm -f ../wsssh-tools*.tar.gz rm -f dist/wsssh-tools*.tar.gz
rm -f ../wsssh-tools*.changes rm -f dist/wsssh-tools*.changes
rm -f wsssh-tools*.deb
rm -f wsssh-tools*.dsc
rm -f wsssh-tools*.tar.gz
rm -f wsssh-tools*.changes
# Remove Debian build directory and artifacts
if [ -d "wssshtools" ]; then
rm -rf wssshtools/debian/wsssh-tools/
rm -f wssshtools/debian/files
rm -f wssshtools/debian/*.debhelper*
rm -f wssshtools/debian/*.substvars
rm -f wssshtools/debian/debhelper-build-stamp
fi
# Optionally remove SSL certificates (uncomment if needed) # Optionally remove SSL certificates (uncomment if needed)
# rm -f cert.pem key.pem # rm -f cert.pem key.pem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment