]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
examples: Improve autoclean.sh.
authorBruno Haible <bruno@clisp.org>
Tue, 28 Jan 2025 20:54:52 +0000 (21:54 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 28 Jan 2025 20:55:22 +0000 (21:55 +0100)
* gettext-tools/examples/hello-c-gnome3/autoclean.sh: Do also the equivalent of
"make maintainer-clean".
* gettext-tools/examples/hello-c++-gnome3/autoclean.sh: Likewise.
* gettext-tools/examples/hello-c++-kde/autoclean.sh: Likewise.
* gettext-tools/examples/hello-csharp/autoclean.sh: Likewise.
* gettext-tools/examples/hello-csharp-forms/autoclean.sh: Likewise.
* gettext-tools/examples/hello-pascal/autoclean.sh: Likewise.

gettext-tools/examples/hello-c++-gnome3/autoclean.sh
gettext-tools/examples/hello-c++-kde/autoclean.sh
gettext-tools/examples/hello-c-gnome3/autoclean.sh
gettext-tools/examples/hello-csharp-forms/autoclean.sh
gettext-tools/examples/hello-csharp/autoclean.sh
gettext-tools/examples/hello-pascal/autoclean.sh

index cca8992a1eae56add1354557214ed867b591bbec..330be19d7c2c4657d6a11e4599be201dd7d8ee9b 100755 (executable)
@@ -5,6 +5,8 @@
 # Script for cleaning all autogenerated files.
 
 test ! -f Makefile || make distclean
+# Do the equivalent of "make maintainer-clean", even without the Makefile.
+rm -f hello-resources.c hello.desktop.in
 rm -rf autom4te.cache
 
 # Files generated by "make" and distributed (see MAINTAINERCLEANFILES).
index 99f538a4aac75a5f2be445a97daa9810bd180777..3468274bd82a18311e7b500dda68df893d468429 100755 (executable)
@@ -5,6 +5,8 @@
 # Script for cleaning all autogenerated files.
 
 test ! -f Makefile || make distclean
+# Do the equivalent of "make maintainer-clean", even without the Makefile.
+rm -f subdirs configure.in acinclude.m4 configure.files
 rm -rf autom4te.cache
 
 if test "$1" = fromscratch; then
index 5a41da4592b31a572e1bcf9922cdb0648004b3ca..2f812ed5e31b270454ebde4b748bfe2f4cffb643 100755 (executable)
@@ -5,6 +5,8 @@
 # Script for cleaning all autogenerated files.
 
 test ! -f Makefile || make distclean
+# Do the equivalent of "make maintainer-clean", even without the Makefile.
+rm -f hello-resources.c hello2-resources.c hello.desktop.in hello2.desktop.in
 rm -rf autom4te.cache
 
 # Files generated by "make" and distributed (see MAINTAINERCLEANFILES).
index a4867f40990c6414740e49b9b2e3d5eda4915806..4d1bda1d9e77774b0794ab4e47303c199aa225ce 100755 (executable)
@@ -5,6 +5,8 @@
 # Script for cleaning all autogenerated files.
 
 test ! -f Makefile || make distclean
+# Do the equivalent of "make maintainer-clean", even without the Makefile.
+rm -f */*.resources.dll
 rm -rf autom4te.cache
 
 # Brought in by explicit copy.
index a4867f40990c6414740e49b9b2e3d5eda4915806..4d1bda1d9e77774b0794ab4e47303c199aa225ce 100755 (executable)
@@ -5,6 +5,8 @@
 # Script for cleaning all autogenerated files.
 
 test ! -f Makefile || make distclean
+# Do the equivalent of "make maintainer-clean", even without the Makefile.
+rm -f */*.resources.dll
 rm -rf autom4te.cache
 
 # Brought in by explicit copy.
index c4313e60a122b201d62fb2d5d57220c548dbc2f5..ca8714450503d9f0262ac95bfc4677d6d5a89c05 100755 (executable)
@@ -5,6 +5,8 @@
 # Script for cleaning all autogenerated files.
 
 test ! -f Makefile || make distclean
+# Do the equivalent of "make maintainer-clean", even without the Makefile.
+rm -f hello.rsj
 rm -rf autom4te.cache
 
 # Brought in by explicit copy.