banshee r4740 - trunk/banshee



Author: abock
Date: Fri Oct 24 23:53:39 2008
New Revision: 4740
URL: http://svn.gnome.org/viewvc/banshee?rev=4740&view=rev

Log:
2008-10-24  Aaron Bockover  <abock gnome org>

    * Makefile.am: Patch from patch-master-organizer Bertrand Lorentz
    to allow localized uninstalled instances ala 'make run'; his make foo
    is strong (BGO #393046)



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/Makefile.am

Modified: trunk/banshee/Makefile.am
==============================================================================
--- trunk/banshee/Makefile.am	(original)
+++ trunk/banshee/Makefile.am	Fri Oct 24 23:53:39 2008
@@ -21,7 +21,15 @@
 
 # Developer targets
 
-run:
+LC_BUILD = $(top_builddir)/bin/share/locale
+PO_FILES = $(addprefix po/, $(addsuffix .gmo, $(ALL_LINGUAS)))
+MO_FILES = $(patsubst po/%.gmo, $(LC_BUILD)/%/LC_MESSAGES/$(PACKAGE).mo, $(PO_FILES))
+
+$(MO_FILES): $(LC_BUILD)/%/LC_MESSAGES/$(PACKAGE).mo: po/%.gmo
+	$(mkdir_p) $(dir $@)
+	cp -af '$<' '$@'
+
+run: $(MO_FILES)
 	@pushd bin; \
 	$(MONO) --debug $(BANSHEE_DEV_MONO_OPTIONS) Nereid.exe --debug --uninstalled $(BANSHEE_DEV_OPTIONS); \
 	popd;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]