1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Add distclean target to src/Makefile
Also, add a '-" prefix to the rm command in the clean rule, such that
the processing of "make distclean" is not prematurely aborted if
there is no *.oct or *.o files.
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: https://savannah.gnu.org/bugs/?62758
Last-Update: 2022-07-11
--- octave-interval-3.2.1.orig/src/Makefile
+++ octave-interval-3.2.1/src/Makefile
@@ -79,6 +79,9 @@ __setround__.oct: __setround__.cc
clean:
test ! -e $(BUNDLED_CRLIBM_DIR)/Makefile || $(MAKE) -C $(BUNDLED_CRLIBM_DIR) $@
- $(RM) *.oct *.o
+ -$(RM) *.oct *.o
-.PHONY: all clean
+distclean: clean
+ -$(RM) config.log
+
+.PHONY: all clean distclean
|