From f8ab739a36f7599f4f84590694c02ff3e0f2dd71 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Tue, 7 Sep 2010 23:36:57 +0000 Subject: do not require argparse anymore, chmod in the directory in the python process directly, fix a little bit the Mafile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 44b5a818..e7f72593 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ 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 - $(CP) data/* $(DESTDIR)$(DATADIR)/poezio/data/ -R + $(CP) -R data/* $(DESTDIR)$(DATADIR)/poezio/data/ $(CHMOD) 644 -R $(DESTDIR)$(DATADIR)/poezio/data/ $(INSTALL) -m644 data/poezio.1 $(DESTDIR)$(MANDIR)/man1/ @@ -28,12 +28,13 @@ install: done echo "#!/usr/bin/env sh" > $(DESTDIR)$(BINDIR)/poezio - echo "cd $(DATADIR)/poezio/src/ && python3 poezio.py" >> $(DESTDIR)$(BINDIR)/poezio + echo "python3 $(DATADIR)/poezio/src/poezio.py" >> $(DESTDIR)$(BINDIR)/poezio chmod 755 $(DESTDIR)$(BINDIR)/poezio uninstall: rm -f $(DESTDIR)$(BINDIR)/poezio rm -rf $(DESTDIR)$(DATADIR)/poezio + rm -rf $(DESTDIR)$(MANDIR)/man1/poezio.1 pot: xgettext src/*.py --from-code=utf-8 --keyword=_ -o locale/poezio.pot -- cgit v1.2.3