summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-16 23:46:45 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-16 23:46:45 +0000
commiteabf05c8a75aab889780349045c0b4b5ff3f8b4e (patch)
treeb89ba647c5c9b52a70a6d4149ceca7165a6b5fb5 /Makefile
parent63d583c04771bd87deb3d5f8fd3a2fc8282f6109 (diff)
downloadpoezio-eabf05c8a75aab889780349045c0b4b5ff3f8b4e.tar.gz
poezio-eabf05c8a75aab889780349045c0b4b5ff3f8b4e.tar.bz2
poezio-eabf05c8a75aab889780349045c0b4b5ff3f8b4e.tar.xz
poezio-eabf05c8a75aab889780349045c0b4b5ff3f8b4e.zip
fix Makefile again
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 49d22f76..4361f493 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,6 @@ BINDIR=$(prefix)/bin
DATADIR=$(prefix)/share
LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
-CP=/bin/cp
-CHMOD=/bin/chmod
all: Makefile
@@ -15,12 +13,11 @@ clean:
find ./ -name "#*#" -delete
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
+ mkdir -p $(DESTDIR)$(prefix)
+ install -d $(DESTDIR)$(LOCALEDIR) $(DESTDIR)$(BINDIR) $(DESTDIR)$(DATADIR)/poezio $(DESTDIR)$(DATADIR)/poezio/data $(DESTDIR)$(DATADIR)/poezio/src/ $(DESTDIR)$(DATADIR)/poezio/src $(DESTDIR)$(DATADIR)/poezio/data/themes $(DESTDIR)$(MANDIR)/man1
- $(CP) -R data/* $(DESTDIR)$(DATADIR)/poezio/data/
+ cp -R data/* $(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/
for sourcefile in `find src/ -maxdepth 1 -type f -name \*.py` ; do \