summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-20 19:19:46 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-20 19:19:46 +0000
commita1e98cea2d662ea6dde7f1ca739838d44fd06eb0 (patch)
tree86a167bb6fbc8e2807794c79243270ebea14adca
parent8b090f8d90f5ab58afc7dff88f196376fd59c8ab (diff)
downloadpoezio-a1e98cea2d662ea6dde7f1ca739838d44fd06eb0.tar.gz
poezio-a1e98cea2d662ea6dde7f1ca739838d44fd06eb0.tar.bz2
poezio-a1e98cea2d662ea6dde7f1ca739838d44fd06eb0.tar.xz
poezio-a1e98cea2d662ea6dde7f1ca739838d44fd06eb0.zip
Fix makefile again
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3cfee1b4..8e76db03 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-prefix=/usr/local
+$prefix=/usr/local
LIBDIR=$(prefix)/lib
BINDIR=$(prefix)/bin
DATADIR=$(prefix)/share
@@ -14,7 +14,8 @@ clean:
find ./ -name "#*#" -delete
install:
- $(INSTALL) -d $(BINDIR) $(DATADIR)/poezio $(DATADIR)/poezio/data $(DATADIR)/poezio/src $(DATADIR)/poezio/src/
+ mkdir -p $(DESTDIR)
+ $(INSTALL) -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src/xmpp
$(INSTALL) -m644 data/* $(DESTDIR)$(DATADIR)/poezio/data/