From 1d96c2922549e68922a86d307589f50a4c2b6e1b Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Wed, 14 Feb 2018 16:01:52 +0100 Subject: clean-mmap now a dependency of clean Until now, Gnuastro's `mmap' files were included in the `rm' commands of `clean*' rules two times. But by setting `clean-mmap' as a dependency of `clean', it is now only necessary to have them in the Makefile once. This also makes the code much more cleaner. --- reproduce/src/make/initialize.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reproduce/src') diff --git a/reproduce/src/make/initialize.mk b/reproduce/src/make/initialize.mk index 7c272d5..3125399 100644 --- a/reproduce/src/make/initialize.mk +++ b/reproduce/src/make/initialize.mk @@ -130,11 +130,11 @@ reproduce/build: | $(BDIR) .PHONY: all clean distclean clean-mmap $(mtexdir)/initialize.tex distclean: clean; rm -f $(pconfdir)/LOCAL.mk clean-mmap:; rm -f reproduce/config/gnuastro/mmap* -clean: +clean: clean-mmap ifeq ($(configure-run),yes) rm -rf $(BDIR) endif - rm -f reproduce/build $(gconfdir)/mmap* *.pdf *.log *.out *.aux *.auxlock + rm -f reproduce/build *.pdf *.log *.out *.aux *.auxlock -- cgit v1.2.1