Makefile: Add common library to build dependencies

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@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Lukas Fleischer 2011-11-02 22:02:37 +01:00 committed by Pierre Schmitz
parent fbbcc30e3d
commit 1f24380a31
1 changed files with 1 additions and 1 deletions

View File

@ -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 "$@"