diff options
author | mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 <mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-03 17:59:04 +0000 |
---|---|---|
committer | mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 <mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-03 17:59:04 +0000 |
commit | 43654505fb2efa3994081e68613e5bd8dd033660 (patch) | |
tree | e90867c21a7be452ff2b33a556d592c43fe98df5 | |
parent | 3b0f78615cf5b7a772646fdd2c692b2ce1e23c9c (diff) | |
download | poezio-43654505fb2efa3994081e68613e5bd8dd033660.tar.gz poezio-43654505fb2efa3994081e68613e5bd8dd033660.tar.bz2 poezio-43654505fb2efa3994081e68613e5bd8dd033660.tar.xz poezio-43654505fb2efa3994081e68613e5bd8dd033660.zip |
Makefile fix (man & themes)
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -4,7 +4,9 @@ BINDIR=$(prefix)/bin DATADIR=$(prefix)/share LOCALEDIR=$(DATADIR)/locale MANDIR=$(DATADIR)/man -INSTALL=install +INSTALL=/bin/install +CP=/bin/cp +CHMOD=/bin/chmod all: Makefile @@ -15,16 +17,18 @@ clean: 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 + $(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 - $(INSTALL) -m644 data/* $(DESTDIR)$(DATADIR)/poezio/data/ + $(CP) data/* $(DESTDIR)$(DATADIR)/poezio/data/ -R + $(CHMOD) 644 -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 \ $(INSTALL) -m644 $$sourcefile $(DESTDIR)$(DATADIR)/poezio/src; \ done echo "#!/usr/bin/env sh" > $(DESTDIR)$(BINDIR)/poezio - echo "cd $(DATADIR)/poezio/src/ && python poezio.py" >> $(DESTDIR)$(BINDIR)/poezio + echo "cd $(DATADIR)/poezio/src/ && python3 poezio.py" >> $(DESTDIR)$(BINDIR)/poezio chmod 755 $(DESTDIR)$(BINDIR)/poezio uninstall: |