summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-20 10:07:28 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-07-20 10:07:28 +0000
commit9c67b7a0fa4d76fe5e07a843f29f505bb74121a1 (patch)
tree716feaa373ef15ebcbcef942fbddb10dec6d09a4 /Makefile
parent5807bc01233770a8e7e9d541901bea6a5b4fa05c (diff)
downloadpoezio-9c67b7a0fa4d76fe5e07a843f29f505bb74121a1.tar.gz
poezio-9c67b7a0fa4d76fe5e07a843f29f505bb74121a1.tar.bz2
poezio-9c67b7a0fa4d76fe5e07a843f29f505bb74121a1.tar.xz
poezio-9c67b7a0fa4d76fe5e07a843f29f505bb74121a1.zip
Makefile: remove locales and xmpppy stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 9705bce8..e3ecf85d 100644
--- a/Makefile
+++ b/Makefile
@@ -6,21 +6,20 @@ LOCALEDIR=$(DATADIR)/locale
MANDIR=$(DATADIR)/man
INSTALL=install
-all:
- cd src/xmpppy-0.5.0rc1 && pwd && python setup.py build && cp -r xmpp ..
+all: Makefile
-clean: Makefile
+clean:
+ find ./ -name \*.pyc -delete
+ 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/ $(DESTDIR)$(DATADIR)/poezio/src/xmpp
+ $(INSTALL) -d $(BINDIR) $(DATADIR)/poezio $(DATADIR)/poezio/data $(DATADIR)/poezio/src $(DATADIR)/poezio/src/
$(INSTALL) -m644 data/* $(DESTDIR)$(DATADIR)/poezio/data/
for sourcefile in `find src/ -maxdepth 1 -type f -name \*.py` ; do \
$(INSTALL) -m644 $$sourcefile $(DESTDIR)$(DATADIR)/poezio/src; \
done
- $(INSTALL) -m644 src/xmpp/* $(DESTDIR)$(DATADIR)/poezio/src/xmpp/
echo "#!/usr/bin/env sh" > $(DESTDIR)$(BINDIR)/poezio
echo "cd $(DATADIR)/poezio/src/ && python poezio.py" >> $(DESTDIR)$(BINDIR)/poezio