fix Makefile again
This commit is contained in:
parent
63d583c047
commit
eabf05c8a7
3 changed files with 4 additions and 8 deletions
9
Makefile
9
Makefile
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue