diff options
author | Erich Eckner <git@eckner.net> | 2016-06-27 18:19:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-06-27 18:42:45 +0200 |
commit | 4cba06896d9a9be0431cfcd7275667e5a25956d7 (patch) | |
tree | 749025218b896a00108617644d46c4e25186ad62 /Makefile | |
parent | a626f841c71f3bc9c2a645d04ccc0f33685391cc (diff) | |
download | bash-git-prompt-4cba06896d9a9be0431cfcd7275667e5a25956d7.tar.xz |
Konfig und skipDirRegEx neu
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -21,21 +21,23 @@ DESTDIR = BINDIR = /usr/bin +ETCDIR = /etc VERSION = 0.12 -all: bash-git-prompt +all: bash-git-prompt bash-git-prompt.conf %: %.in - sed "s/#VERSION#/$(VERSION)/" $< > $@ + sed "s/#VERSION#/$(VERSION)/; s@#ETCDIR#@$(ETCDIR)@" $< > $@ .PHONY: install clean install: all install -D -m0755 -t $(DESTDIR)$(BINDIR) bash-git-prompt + install -D -m0644 -t $(DESTDIR)$(ETCDIR) bash-git-prompt.conf clean: - rm -f bash-git-prompt + rm -f bash-git-prompt bash-git-prompt.conf dist: clean git status --porcelain 2> /dev/null | grep -q "\S" && (git add .; git commit -m"neue Version: $(VERSION)") || true |