summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-11-02 22:02:37 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-11-04 19:34:13 +0100
commit1f24380a3172431bb468931b64feda6f283d1e82 (patch)
tree70d66b1e252213ef168582da95df3979fe4e4f63 /Makefile
parentfbbcc30e3dbe16f34c94d210f3c7c74762216874 (diff)
downloaddevtools-1f24380a3172431bb468931b64feda6f283d1e82.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
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 "$@"