index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Pierre Schmitz <pierre@archlinux.de> | 2011-11-01 15:33:08 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-11-01 15:33:08 +0100 |
commit | aaa68e49e8e5a68950a63b9aa4a8c1f6aed2e2d2 (patch) | |
tree | f28082b5951313ca95959c82be1b0ad357e55290 /Makefile | |
parent | 7c78599a61e3652f43fce33826aef7b443590b83 (diff) |
-rw-r--r-- | Makefile | 4 |
@@ -50,9 +50,11 @@ ARCHBUILD_LINKS = \ all: $(BINPROGS) $(SBINPROGS) bash_completion zsh_completion +edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g" + %: %.in @echo "GEN $@" - @sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g" "$<" >"$@" + @m4 -P $@.in | $(edit) >$@ @chmod a-w "$@" @chmod +x "$@" |