fix Makefile again

parent 63d583c0
......@@ -4,8 +4,6 @@ BINDIR=$(prefix)/bin
DATADIR=$(prefix)/share
LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
CP=/bin/cp
CHMOD=/bin/chmod
all: Makefile
......@@ -15,12 +13,11 @@ clean:
find ./ -name "#*#" -delete
install:
mkdir -p $(DESTDIR)
install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src/xmpp $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
mkdir -p $(DESTDIR)$(prefix)
install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
$(CP) -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
cp -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
rm $(DESTDIR)$(DATADIR)/poezio/data/poezio.1
$(CHMOD) 655 -R $(DESTDIR)$(DATADIR)/poezio/data/
install -m644 data/poezio.1 $(DESTDIR)$(MANDIR)/man1/
for sourcefile in `find src/ -maxdepth 1 -type f -name \*.py` ; do \
......
......@@ -569,7 +569,6 @@ class Gui(object):
"""
theme.init_colors()
curses.noecho()
curses.curs_set(0)
stdscr.keypad(True)
def reset_curses(self):
......
......@@ -877,7 +877,7 @@ class Input(Win):
with g_lock:
self.clear_text()
self.addstr(self.text[self.line_pos:self.line_pos+self.width-1])
self.win.chgat(0, self.pos, 1, curses.A_REVERSE)
# self.win.chgat(0, self.pos, 1, curses.A_REVERSE)
self.win.refresh()
def refresh(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment