changeset: 2572:63df7cb7ae7b
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Sun Oct 25 14:57:21 2009 -0400
files: mk/hdr.mk
description:
Generate some more noise with $noisycc set.
diff -r 0f994d3dc561 -r 63df7cb7ae7b mk/hdr.mk
--- a/mk/hdr.mk Sun Oct 25 14:47:45 2009 -0400
+++ b/mk/hdr.mk Sun Oct 25 14:57:21 2009 -0400
@@ -40,7 +40,7 @@
.c.depend:
echo MKDEP $<
- [ "$$noisycc" = 1 ] && echo $(MKDEP) $(EXCFLAGS) $(CFLAGS) $$(pkg-config --cflags $(PACKAGES)) $< || true
+ [ -n "${noisycc}" ] && echo $(MKDEP) $(EXCFLAGS) $(CFLAGS) $$(pkg-config --cflags $(PACKAGES)) $< || true
$(MKDEP) $(EXCFLAGS) $(CFLAGS) $$(pkg-config --cflags $(PACKAGES)) $< >>.depend
.sh.depend .rc.depend .1.depend .awk.depend:
@@ -60,11 +60,14 @@
.rc.out .awk.out .sh.out:
echo FILTER $(BASE)$<
[ -n "${<:%.sh=}" ] || sh -n $<
- $(FILTER) $< >$@
+ set -e; \
+ [ -n "${noisycc}" ] && set -x; \
+ $(FILTER) $< >$@; \
chmod 0755 $@
.man1.1:
echo TXT2TAGS $(BASE)$<
+ [ -n "${noisycc}" ] && set -x; \
txt2tags -o- $< >$@
INSTALL= _install() { set -e; \
@@ -72,6 +75,7 @@
d=$$(dirname $$3); \
if [ ! -d $(DESTDIR)$$d ]; then echo MKDIR $$d; mkdir -p $(DESTDIR)$$d; fi; \
echo INSTALL $$($(CLEANNAME) $(BASE)$$2); \
+ [ -n "${noisycc}" ] && set -x; \
if [ "$$dashb" = -b ]; \
then cp -f $$2 $(DESTDIR)$$3; \
else $(FILTER) <$$2 >$(DESTDIR)$$3; \
@@ -80,6 +84,7 @@
}; _install
UNINSTALL= _uninstall() { set -e; \
echo UNINSTALL $$($(CLEANNAME) $(BASE)$$2); \
+ [ -n "${noisycc}" ] && set -x; \
rm -f $(DESTDIR)$$3; \
}; _uninstall
Received on Sun Oct 25 2009 - 18:57:30 UTC
This archive was generated by hypermail 2.2.0 : Sun Oct 25 2009 - 19:00:07 UTC