monkey-bubble r235 - trunk



Author: herzi
Date: Fri Jan 11 02:36:30 2008
New Revision: 235
URL: http://svn.gnome.org/viewvc/monkey-bubble?rev=235&view=rev

Log:
2008-01-11  Sven Herzberg  <herzi gnome-de org>

	Added another preprocessing step as Maemo requires the full path to be
	given in the .desktop file.

	* Makefile.am: added the rules to properly build the desktop file with
	another preprocessing step
	* monkey-bubble.desktop.in: renamed
	* monkey-bubble.desktop.in.in: new name of the file


Added:
   trunk/monkey-bubble.desktop.in.in
      - copied, changed from r234, /trunk/monkey-bubble.desktop.in
Removed:
   trunk/monkey-bubble.desktop.in
Modified:
   trunk/ChangeLog
   trunk/Makefile.am

Modified: trunk/Makefile.am
==============================================================================
--- trunk/Makefile.am	(original)
+++ trunk/Makefile.am	Fri Jan 11 02:36:30 2008
@@ -9,14 +9,23 @@
         help    \
 	$(NULL)
 
-applications_in_files = monkey-bubble.desktop.in
-applications_DATA = $(applications_in_files:.desktop.in=.desktop)
+applications_in_in_files = monkey-bubble.desktop.in.in
+applications_in_files = $(applications_in_in_files:.desktop.in.in=.desktop.in)
+applications_DATA = $(applications_in_in_files:.desktop.in.in=.desktop)
+
 if MAEMO
 applicationsdir = $(datadir)/applications/hildon
 else
 applicationsdir = $(datadir)/applications
 endif
 
+$(applications_in_files): $(applications_in_in_files) Makefile
+if MAEMO
+	sed 's# BINDIR@#$(bindir)/#' $< > $@
+else
+	cp $< $@
+endif
+
 @INTLTOOL_DESKTOP_RULE@
 
 intltool_in_files=\
@@ -26,11 +35,12 @@
 	$(NULL)
 
 EXTRA_DIST=\
-	$(applications_in_files)	\
+	$(applications_in_in_files) \
 	$(intltool_in_files) \
 	$(NULL)
 
 CLEANFILES=\
 	$(applications_DATA) \
+	$(applications_in_files) \
 	$(intltool_in_files:.in=) \
 	$(NULL)

Copied: trunk/monkey-bubble.desktop.in.in (from r234, /trunk/monkey-bubble.desktop.in)
==============================================================================



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