Description: Fix cleaning of files Add -f flag to the rm command for avoiding failure when removing non-existent files. Also, add __netcdf__.o to the list of files to be cleaned. Author: Rafael Laboissiere Forwarded: no Last-Update: 2016-05-14 --- octave-netcdf-1.0.10.orig/src/Makefile +++ octave-netcdf-1.0.10/src/Makefile @@ -15,10 +15,10 @@ constants: $(AWK) -f netcdf_constants.awk $(NCHEADER) > netcdf_constants.h clean: - rm __netcdf__.oct + rm -f __netcdf__.o __netcdf__.oct real-clean: clean - rm ../PKG_ADD ../inst/import_netcdf.m + rm -f ../PKG_ADD ../inst/import_netcdf.m __netcdf__.oct: $(SRC) netcdf_constants.h $(MKOCTFILE) $(CFLAGS) $(SRC) $(LIBS)