about summary refs log tree commit diff
path: root/install.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-10T21·31+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-10T21·31+0100
commitca73c0102fc68ece171d7cc062e464b4d418d07c (patch)
treed35048277993d852c173bdf6d2ffbe78bff1ec67 /install.mk
parente991ab942b6ed1bc50a63afafe55ffe5cae8cbad (diff)
Nicer Make output
E.g.

  CXX    src/nix-log2xml/log2xml.o
  CC     src/bsdiff-4.3/bsdiff.o
  GEN    scripts/nix-channel
  LD     src/libmain/libnixmain.so
Diffstat (limited to 'install.mk')
-rw-r--r--install.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/install.mk b/install.mk
index c5eb8eb37743..aee4bf38ba7a 100644
--- a/install.mk
+++ b/install.mk
@@ -4,7 +4,7 @@ define create-dir =
   ifndef $(1)_SEEN
     $(1)_SEEN = 1
     $(1):
-	$(QUIET) install -d $(1)
+	$$(trace-install) install -d $(1)
   endif
 endef
 
@@ -18,7 +18,7 @@ define install-file-as =
   $$(eval $$(call create-dir,$$(dir $(2))))
 
   $(2): $(1) | $$(dir $(2))
-	$(QUIET) install -m $(3) $(1) $(2)
+	$$(trace-install) install -m $(3) $(1) $(2)
 
 endef
 
@@ -48,6 +48,6 @@ define install-symlink =
   $$(eval $$(call create-dir,$$(dir $(2))))
 
   $(2): | $$(dir $(2))
-	$(QUIET) ln -sfn $(1) $(2)
+	$$(trace-install) ln -sfn $(1) $(2)
 
 endef