diff options
| author | Mattias Andrée <maandree@operamail.com> | 2013-09-30 03:09:49 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2013-09-30 03:09:49 +0200 |
| commit | 71ae0af4bad2fd38ded15bcb643f0ad73232c480 (patch) | |
| tree | ffed6e53674e5b62f5a439a867be4bd9df64c5f1 /Makefile | |
| parent | misc fixes (diff) | |
| download | gates-of-tartaros-71ae0af4bad2fd38ded15bcb643f0ad73232c480.tar.gz gates-of-tartaros-71ae0af4bad2fd38ded15bcb643f0ad73232c480.tar.bz2 gates-of-tartaros-71ae0af4bad2fd38ded15bcb643f0ad73232c480.tar.xz | |
get rid of python
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -2,38 +2,29 @@ PREFIX = SYSCONF = /etc BIN = /bin SBIN = /sbin -LIBEXEC = /libexec LICENSES = /usr/share/licenses COMMAND = got PKGNAME = gates-of-tartaros BASH_SHEBANG = /usr/bin/env bash -PY3_SHEBANG = /usr/bin/env python3 - -all: got.install got.py.install got-cmd.install +all: got.install got-cmd.install got.install: got cp "$<" "$@" sed -i 's:#!/usr/bin/env bash:#!$(BASH_SHEBANG):g' "$@" sed -i 's:@prefix@:$(PREFIX):g' "$@" sed -i 's:@etc@:$(SYSCONF):g' "$@" - sed -i 's:@libexec@:$(LIBEXEC):g' "$@" sed -i 's:@command@:$(COMMAND):g' "$@" -got.py.install: got.py - cp "$<" "$@" - sed -i 's:#!/usr/bin/env python3:#!$(PY3_SHEBANG):g' "$@" - got-cmd.install: got-cmd cp "$<" "$@" sed -i 's:#!/usr/bin/env bash:#!$(BASH_SHEBANG):g' "$@" -install: got.install got.py.install got-cmd.install +install: got.install got-cmd.install install -Dm755 -- "got.install" "$(DESTDIR)$(PREFIX)$(SBIN)/got" - install -Dm755 -- "got.py.install" "$(DESTDIR)$(PREFIX)$(LIBEXEC)/got.py" install -Dm755 -- "got-cmd.install" "$(DESTDIR)$(PREFIX)$(BIN)/got-cmd" install -Dm644 -- "gotrc" "$(DESTDIR)$(SYSCONF)/gotrc.examples/lower-left-ponysay" install -d -- "$(DESTDIR)$(LICENSES)/$(PKGNAME)" @@ -42,7 +33,6 @@ install: got.install got.py.install got-cmd.install uninstall: -rm -- "$(DESTDIR)$(PREFIX)$(SBIN)/got" - -rm -- "$(DESTDIR)$(PREFIX)$(LIBEXEC)/got.py" -rm -- "$(DESTDIR)$(PREFIX)$(BIN)/got-cmd" -rm -- "$(DESTDIR)$(SYSCONF)/gotrc.examples/lower-left-ponysay" -rm -- "$(DESTDIR)$(LICENSES)/$(PKGNAME)/COPYING" |
