summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-16 22:36:52 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-16 22:36:52 +0000
commitbb92c857c78d217c76f65abb9e53f8be318103ce (patch)
treee546b3a6f26b4897ea9100f4f553cb465be06a9e
parent2b4396194b2e4cc571fdc2e15ad68645e6c0328c (diff)
downloadpoezio-bb92c857c78d217c76f65abb9e53f8be318103ce.tar.gz
poezio-bb92c857c78d217c76f65abb9e53f8be318103ce.tar.bz2
poezio-bb92c857c78d217c76f65abb9e53f8be318103ce.tar.xz
poezio-bb92c857c78d217c76f65abb9e53f8be318103ce.zip
makefile fixed, a little (INSTALL)
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index aa86dba0..49d22f76 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,6 @@ BINDIR=$(prefix)/bin
DATADIR=$(prefix)/share
LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
-INSTALL=/bin/install
CP=/bin/cp
CHMOD=/bin/chmod
@@ -17,15 +16,15 @@ 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 $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
+ 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/
rm $(DESTDIR)$(DATADIR)/poezio/data/poezio.1
$(CHMOD) 655 -R $(DESTDIR)$(DATADIR)/poezio/data/
- $(INSTALL) -m655 data/poezio.1 $(DESTDIR)$(MANDIR)/man1/
+ install -m644 data/poezio.1 $(DESTDIR)$(MANDIR)/man1/
for sourcefile in `find src/ -maxdepth 1 -type f -name \*.py` ; do \
- $(INSTALL) -m655 $$sourcefile $(DESTDIR)$(DATADIR)/poezio/src; \
+ install -m644 $$sourcefile $(DESTDIR)$(DATADIR)/poezio/src; \
done
echo "#!/usr/bin/env sh" > $(DESTDIR)$(BINDIR)/poezio