diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 3 insertions, 18 deletions
@@ -1,10 +1,3 @@ -prefix=/usr/local/ -LIBDIR=$(prefix)/lib -BINDIR=$(prefix)/bin -DATADIR=$(prefix)/share -DOCDIR=$(DATADIR)/doc -LOCALEDIR=$(DATADIR)/locale -MANDIR=$(DATADIR)/man TMPDIR=/tmp/ all: Makefile @@ -14,21 +7,16 @@ clean: find ./ -name \*.pyc -delete find ./ -name \*.pyo -delete find ./ -name \*~ -delete + find ./ -type d -name __pycache__ -delete find ./ -name "#*#" -delete rm -rf doc/build/ + rm -rf poezio.egg-info + rm -rf dist rm -rf build rm -f src/*.so install: all python3 setup.py install --root=$(DESTDIR) --optimize=1 - mkdir -p $(DESTDIR)$(prefix) $(DESTDIR)$(DOCDIR)/poezio/ $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) - cp -R doc/* $(DESTDIR)$(DOCDIR)/poezio/ - cp README CHANGELOG COPYING $(DESTDIR)$(DOCDIR)/poezio/ - -uninstall: - rm -f $(DESTDIR)$(BINDIR)/poezio - rm -rf $(DESTDIR)$(DOCDIR)/poezio/ - rm -rf $(DESTDIR)$(MANDIR)/man1/poezio.1 doc: make -C doc/ html @@ -36,9 +24,6 @@ doc: test: py.test -v test/ -pot: - xgettext src/*.py --from-code=utf-8 --keyword=_ -o locale/poezio.pot - release: rm -fr $(TMPDIR)/poezio-$(version) git clone $(PWD) $(TMPDIR)/poezio-$(version) |