1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Fix cleaning of files
+ Remove Makefile and oct-alt-includes.h in the distclean rule
+ Add prerequisite clean to the distclean target
+ Add prefix "-" to the rm commands in the clean and distclean rules
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: https://savannah.gnu.org/bugs/?62765
Last-Update: 2022-07-14
--- octave-struct-1.0.18.orig/src/Makefile.in
+++ octave-struct-1.0.18/src/Makefile.in
@@ -41,7 +41,7 @@ error-helpers.o: error-helpers.cc error-
.PHONY: clean distclean
clean:
- $(RM) *.o octave-core *.oct *~
+ -$(RM) *.o octave-core *.oct *~
-distclean:
- $(RM) *.o octave-core *.oct *~ config.h config.log config.status
+distclean: clean
+ -$(RM) *.o octave-core *.oct *~ config.h config.log config.status Makefile oct-alt-includes.h
|