From fa5b4cf6eaf3193212c9f71fc2ad69e689bebcec Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Sun, 13 Apr 2025 10:57:42 +0200 Subject: [PATCH 1/3] Ignore files related to tests --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index a02baabb8..caa28b297 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ libtool ltmain.sh missing py-compile +tuner_control.log autom4te.cache/ bindings/Hamlib.py bindings/hamlibvb.bas @@ -57,6 +58,7 @@ tests/rigctlcom tests/rigctld tests/rigctlsync tests/rigctltcp +tests/rigfreqwalk tests/rigmem tests/rigsmtr tests/rigswr @@ -75,3 +77,4 @@ obj/ .cproject .DS_Store ._.DS_Store +__pycache__ From cfc5c821a0b344badef0b4dae441476cff92c21e Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Wed, 16 Apr 2025 19:48:20 +0200 Subject: [PATCH 2/3] Delete a generated file when doing make clean --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 4f45b4b94..706d59bc5 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -147,4 +147,4 @@ test2038.sh: echo 'LD_LIBRARY_PATH=$(top_builddir)/src/.libs:$(top_builddir)/dummy/.libs ./test2038 1' > test2038.sh chmod +x ./test2038.sh -CLEANFILES = testrig.sh testfreq.sh testbcd.sh testloc.sh testrigcaps.sh testcache.sh testcookie.sh rigtestlibusb build-w32.sh build-w64.sh build-w64-jtsdk.sh testgrid.sh testrigcaps.sh test2038.sh +CLEANFILES = testrig.sh testfreq.sh testbcd.sh testloc.sh testrigcaps.sh testcache.sh testcookie.sh rigtestlibusb build-w32.sh build-w64.sh build-w64-jtsdk.sh testgrid.sh testrigcaps.sh test2038.sh tuner_control.log From cb113b5c8401e893dfa71dde31b3f616924cba9d Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Wed, 16 Apr 2025 20:34:15 +0200 Subject: [PATCH 3/3] Delete a generated directory when doing make clean --- bindings/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/Makefile.am b/bindings/Makefile.am index 34272b70c..17df597df 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -126,6 +126,7 @@ hamlibpy_wrap.c: hamlib.swg $(SWGDEP) install-py: clean-py: + $(AM_V_at)rm -rf $(builddir)/__pycache__ distclean-py: uninstall-py: