diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-02-14 16:01:52 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2018-02-14 16:01:52 +0100 |
commit | 1d96c2922549e68922a86d307589f50a4c2b6e1b (patch) | |
tree | 0f928c8c0d02e93f3020400c28f8567d22fc3421 /reproduce/src/make | |
parent | 3dc547c3e3e7279085b4807c551f327c5b985a49 (diff) |
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.
Diffstat (limited to 'reproduce/src/make')
-rw-r--r-- | reproduce/src/make/initialize.mk | 4 |
1 files changed, 2 insertions, 2 deletions
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 |