From a1e98cea2d662ea6dde7f1ca739838d44fd06eb0 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Tue, 20 Jul 2010 19:19:46 +0000 Subject: [PATCH] Fix makefile again --- Makefile | 5 +++-- 1 file 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/