summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-10-14 09:33:07 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-10-14 09:33:07 +0200
commitb06b9f60109ad152e8a6ce8c20f9266648d9d70f (patch)
tree65199dc8d398671431f0fa5af6b65325dacde09e /Makefile
parent9715ddbe9df6e7a2a37a11c4f3e90a5446459217 (diff)
parenta0c6bf4556e211037b9d9d6de3fd17f798a3c1fb (diff)
downloaddevtools32-b06b9f60109ad152e8a6ce8c20f9266648d9d70f.tar.xz
Merge remote-tracking branch 'cryptocrack/for-pierre'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6f7a238..9249da6 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,16 @@ ARCHBUILD_LINKS = \
multilib-build \
multilib-testing-build
-all:
+all: $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion
+
+%: %.in
+ @echo "GEN $@"
+ @sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g" "$<" >"$@"
+ @chmod a-w "$@"
+ @chmod +x "$@"
+
+clean:
+ rm -f $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion
install:
install -dm0755 $(DESTDIR)$(PREFIX)/bin
@@ -78,4 +87,4 @@ dist:
upload:
scp devtools-$(V).tar.gz gerolde.archlinux.org:/srv/ftp/other/devtools/
-.PHONY: all install uninstall dist upload
+.PHONY: all clean install uninstall dist upload