1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: Fix cleaning rules in src/Makefile.in
+ Remove the bin directory in the clean rule
+ Remove the files generated by the configure script
+ Precede the rm commands with "-" where necessary
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: https://savannah.gnu.org/bugs/index.php?62768
Last-Update: 2022-07-14
--- octave-parallel-4.0.1.orig/src/Makefile.in
+++ octave-parallel-4.0.1/src/Makefile.in
@@ -264,12 +264,12 @@ RDEFUNX_DLD := DEFUNX_DLD_REPLACEMENT_FO
(echo "#include <stdio.h>"; echo "int main () {"; sed -e s/DEFUN_DLD/$(RDEFUN_DLD)/g -e s/DEFUNX_DLD/$(RDEFUNX_DLD)/g $< | $(CXXCPP) `$(MKOCTFILE) -p INCFLAGS` -x c++ -iquote '.' -D'$(RDEFUN_DLD)(name,args,nargout,doc)=$(RDEFUN_DLD)(name,doc)' -D'$(RDEFUNX_DLD)(name,fname,gname,args,nargout,doc)=$(RDEFUN_DLD)(name,doc)' - | sed -e '/.*$(RDEFUN_DLD)/!D'; echo "}";) | $(CXX) -x c++ -D'$(RDEFUN_DLD)(name,doc)=printf("%c" #name "\n@c " #name " $<\n" doc "\n\n", 0x1D);' -o $@ -
clean:
- $(RM) $(standalone) *.o *.oct *.m octave-core *.cc.docstrings MFDOCSTRINGS *~
+ -$(RM) $(standalone) *.o *.oct *.m octave-core *.cc.docstrings MFDOCSTRINGS *~
+ -$(RM) -r ../bin
distclean: clean
$(MAKE) -C gl distclean
- $(RM) config.h config.log config.status
- $(RM) Makefile
+ -$(RM) config.h config.log config.status Makefile oct-alt-includes.h
maintainer-clean: distclean
- $(RM) $(INFOFILE) $(TEXIFILE)
+ -$(RM) $(INFOFILE) $(TEXIFILE)
|