diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-07 23:36:57 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-07 23:36:57 +0000 |
commit | f8ab739a36f7599f4f84590694c02ff3e0f2dd71 (patch) | |
tree | 87ec4c833900da6f9c95b9a135be761de9d98e36 /Makefile | |
parent | 7d7f585ed6640d73de9cfcfbe84a56e2ec4d6a5f (diff) | |
download | poezio-f8ab739a36f7599f4f84590694c02ff3e0f2dd71.tar.gz poezio-f8ab739a36f7599f4f84590694c02ff3e0f2dd71.tar.bz2 poezio-f8ab739a36f7599f4f84590694c02ff3e0f2dd71.tar.xz poezio-f8ab739a36f7599f4f84590694c02ff3e0f2dd71.zip |
do not require argparse anymore, chmod in the directory in the python process directly, fix a little bit the Mafile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |