diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-07-05 13:13:56 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-07-05 13:13:56 +0000 |
commit | 23391a8d9334f2f3e25cbc5bc39369bbe5ed163d (patch) | |
tree | 2147ddee185c8f9a29df5a2cd65b47427e7fe9a6 /Makefile | |
parent | 6b484978db66385da22b356f99e3582671b9cf73 (diff) | |
download | poezio-23391a8d9334f2f3e25cbc5bc39369bbe5ed163d.tar.gz poezio-23391a8d9334f2f3e25cbc5bc39369bbe5ed163d.tar.bz2 poezio-23391a8d9334f2f3e25cbc5bc39369bbe5ed163d.tar.xz poezio-23391a8d9334f2f3e25cbc5bc39369bbe5ed163d.zip |
remove all locale stuff from the Makefile, since it's not used at the moment. Also, xmpp lib is not installed anymore. I'll try to remove them completely from the repository in the future. TODO: make distros have xmpppy >= 0.5
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 3 insertions, 23 deletions
@@ -11,12 +11,12 @@ all: clean: Makefile -install:all - $(INSTALL) -d $(LOCALEDIR) $(BINDIR) $(DATADIR)/poezio $(DATADIR)/poezio/data $(DATADIR)/poezio/src $(DATADIR)/poezio/src/xmpp +install: + $(INSTALL) -d $(LOCALEDIR) $(BINDIR) $(DATADIR)/poezio $(DATADIR)/poezio/data $(DATADIR)/poezio/src $(DATADIR)/poezio/src/ $(INSTALL) -m644 data/* $(DATADIR)/poezio/data/ - for sourcefile in `find src/ -maxdepth 1 -type f | grep -v '.svn' | grep -v '.pyc'` ; do \ + for sourcefile in `find src/ -maxdepth 1 -type f -name \*.py'` ; do \ $(INSTALL) -m644 $$sourcefile $(DATADIR)/poezio/src; \ done $(INSTALL) -m644 src/xmpp/* $(DATADIR)/poezio/src/xmpp/ @@ -25,29 +25,9 @@ install:all echo "cd $(DATADIR)/poezio/src/ && python poezio.py" >> $(BINDIR)/poezio chmod 755 $(BINDIR)/poezio - for localename in `find locale/ -maxdepth 1 -type d | grep -v '.svn' | sed 's:locale/::g'` ; do \ - if [ -d locale/$$localename ]; then \ - $(INSTALL) -d $(LOCALEDIR)/$$localename; \ - $(INSTALL) -d $(LOCALEDIR)/$$localename/LC_MESSAGES; \ - msgfmt locale/$$localename/LC_MESSAGES/poezio.po -o locale/$$localename/LC_MESSAGES/poezio.mo -v; \ - $(INSTALL) -m644 locale/$$localename/LC_MESSAGES/poezio.mo $(LOCALEDIR)/$$localename/LC_MESSAGES; \ - fi \ - done - uninstall: rm -f $(BINDIR)/poezio rm -rf $(DATADIR)/poezio - for gettextfile in `find $(LOCALEDIR) -name 'poezio.mo'` ; do \ - rm -f $$gettextfile; \ - done - -mo: - for localename in `find locale/ -maxdepth 1 -type d | grep -v '.svn' | sed 's:locale/::g'` ; do \ - if [ -d locale/$$localename ]; then \ - msgfmt locale/$$localename/LC_MESSAGES/poezio.po -o locale/$$localename/LC_MESSAGES/poezio.mo -v; \ - fi \ - done - pot: xgettext src/*.py --from-code=utf-8 --keyword=_ -o locale/poezio.pot |