[med-svn] [bart] 12/14: Makefile improvements
Martin Uecker
uecker-guest at moszumanska.debian.org
Sun Dec 6 23:10:36 UTC 2015
This is an automated email from the git hooks/post-receive script.
uecker-guest pushed a commit to annotated tag v0.2.09d
in repository bart.
commit f3f6d1a7a41f851413f85c0180317ad44a6fa7c9
Author: Martin Uecker <muecker at gwdg.de>
Date: Sun Dec 6 18:40:56 2015 +0100
Makefile improvements
---
Makefile | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 9ba314c..6c46f2e 100644
--- a/Makefile
+++ b/Makefile
@@ -53,8 +53,8 @@ export TOOLBOX_PATH=$(root)
DEPFILE = $(*D)/.$(*F).d
DEPFLAG = -MMD -MF $(DEPFILE)
-ALLDEPS = $(shell find $(srcdir) -name ".*.d")
-#ALLDEPS = $(shell find $(root) -name ".*.d")
+#ALLDEPS = $(shell find $(srcdir) -name ".*.d")
+ALLDEPS = $(shell find $(root) -name ".*.d")
# Compilation flags
@@ -375,21 +375,24 @@ $(ZTARGETS): % : $(srcdir)/%.c $$(MODULES_%) $(MODULES)
# rm $(srcdir)/$@.o
-.PHONY: clean allclean
+.PHONY: clean allclean distclean
clean:
rm -f `find $(srcdir) -name "*.o"`
+ rm -f $(root)/lib/.*.lock
allclean: clean
rm -f $(libdir)/*.a ismrmrd $(ALLDEPS)
- rm -f $(patsubst %, %, $(TARGETS))
+ rm -f bbox $(patsubst %, %, $(TARGETS))
rm -f $(srcdir)/misc/version.inc
+distclean: allclean
-install: bart doc/commands.txt
+
+install: bart $(root)/doc/commands.txt
install -d $(DESTDIR)/usr/bin/
install bart $(DESTDIR)/usr/bin/
install -d $(DESTDIR)/usr/share/doc/bart/
- install doc/*.txt README $(DESTDIR)/usr/share/doc/bart/
+ install $(root)/doc/*.txt $(root)/README $(DESTDIR)/usr/share/doc/bart/
endif #PARALLEL
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bart.git
More information about the debian-med-commit
mailing list