diff options
author | Rafael Laboissière <rafael@debian.org> | 2022-12-05 07:48:57 -0300 |
---|---|---|
committer | Rafael Laboissière <rafael@debian.org> | 2022-12-05 07:48:57 -0300 |
commit | cea629dc222760a5d3173caf7665292ba36d8cbd (patch) | |
tree | 129a390f14c9bd17269382b10f23d6d146130c35 | |
parent | 13c4a2a5a2e67aaf5e7ae8135866ad217960a102 (diff) |
Add distclean rule to src/Makefile.in
Forwarded: https://savannah.gnu.org/bugs/index.php?62753
Last-Update: 2022-07-11
Besides the addition of the distclean target, the clean rule has been
modified by adding the "-" prefix to the rm command, such that make
will not stop if the files to be cleaned do not exist. Also, a .PHONY
target has been added.
Gbp-Pq: Name add-distclean-target.patch
-rw-r--r-- | src/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 295bc30..a0177d3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -9,4 +9,9 @@ gdalread.oct : gdalread.cc misc.cpp $(MKOCTFILE) $(DEFS) $(CXXFLAGS) $(GDAL_CFLAGS) $(GDAL_LIBS) -o $@ $^ clean: - rm misc.o gdalread.o gdalread.oct + -rm misc.o gdalread.o gdalread.oct + +distclean: clean + -rm Makefile config.h config.log config.status + +.PHONY: clean distclean |