[arch-projects] [devtools] [PATCH] Makefile: Add common library to build dependencies

Lukas Fleischer archlinux at cryptocrack.de
Wed Nov 2 17:02:37 EDT 2011


Add "lib/common.sh" to the build dependencies of our scripts to ensure
everything gets rebuilt when we modify a common function. Also, add
"Makefile" itself to enforce a rebuild if the edit command changes.

Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 86b1fcd..37be15a 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ all: $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion
 
 edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g"
 
-%: %.in
+%: %.in Makefile lib/common.sh
 	@echo "GEN $@"
 	@m4 -P $@.in | $(edit) >$@
 	@chmod a-w "$@"
-- 
1.7.7.2



More information about the arch-projects mailing list