summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 <mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-27 16:16:58 +0000
committermathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 <mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-27 16:16:58 +0000
commitd94efc30ccfb376dab7381090facc6c75b2f49c2 (patch)
treed547f8976030e76cb4f0ac1676e5aa694dd54550 /Makefile
parent696deb5d82dda00bc0fb242ce7534fc55041b0e0 (diff)
downloadpoezio-d94efc30ccfb376dab7381090facc6c75b2f49c2.tar.gz
poezio-d94efc30ccfb376dab7381090facc6c75b2f49c2.tar.bz2
poezio-d94efc30ccfb376dab7381090facc6c75b2f49c2.tar.xz
poezio-d94efc30ccfb376dab7381090facc6c75b2f49c2.zip
Permissions fix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e7f72593..aa86dba0 100644
--- a/Makefile
+++ b/Makefile
@@ -20,11 +20,12 @@ install:
$(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) -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
- $(CHMOD) 644 -R $(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/
+ $(INSTALL) -m655 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; \
+ $(INSTALL) -m655 $$sourcefile $(DESTDIR)$(DATADIR)/poezio/src; \
done
echo "#!/usr/bin/env sh" > $(DESTDIR)$(BINDIR)/poezio