Compare commits

...

3 Commits

1 changed files with 7 additions and 6 deletions
Split View
  1. +7
    -6
      Makefile

+ 7
- 6
Makefile View File

@ -1,12 +1,13 @@
PREFIX ?= $(HOME)/.local
VERSION = 1.0
DESTDIR ?= ""
VERSION = 1.1
install: $(bin)
install -d $(PREFIX)/bin
sed -e 's*%PREFIX%*$(PREFIX)*; s*%VERSION%*$(VERSION)*' giteapc.py > $(PREFIX)/bin/giteapc
chmod +x $(PREFIX)/bin/giteapc
install -d $(PREFIX)/lib/giteapc/giteapc
install giteapc/*.py $(PREFIX)/lib/giteapc/giteapc
install -d $(DESTDIR)$(PREFIX)/bin
sed -e 's*%PREFIX%*$(PREFIX)*; s*%VERSION%*$(VERSION)*' giteapc.py > $(DESTDIR)$(PREFIX)/bin/giteapc
chmod +x $(DESTDIR)$(PREFIX)/bin/giteapc
install -d $(DESTDIR)$(PREFIX)/lib/giteapc/giteapc
install giteapc/*.py $(DESTDIR)$(PREFIX)/lib/giteapc/giteapc
uninstall:
rm -f $(PREFIX)/bin/giteapc


Loading…
Cancel
Save