[frogr] Properly generate frogr.desktop from .in and .in.in files
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Properly generate frogr.desktop from .in and .in.in files
- Date: Fri, 21 Jan 2011 19:38:26 +0000 (UTC)
commit c1158aeebcb6b57426dbfd0af3bdca6d6d0748fc
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Fri Jan 21 19:14:10 2011 +0100
Properly generate frogr.desktop from .in and .in.in files
Makefile.am | 8 +++++---
data/{frogr.desktop.in => frogr.desktop.in.in} | 0
po/POTFILES.in | 2 +-
po/POTFILES.skip | 4 ++--
4 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0373648..3142e39 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,6 +25,7 @@ MAINTAINERCLEANFILES = \
config.sub \
configure \
data/frogr.desktop \
+ data/frogr.desktop.in \
debian/files \
debian/stamp-autotools-files \
debian/stamp-makefile-build \
@@ -67,14 +68,15 @@ gtkbuilder_DATA = data/gtkbuilder/frogr-main-view.xml
desktopentrydir = $(datadir)/applications
desktopentry_DATA = $(builddir)/data/frogr.desktop
+ INTLTOOL_DESKTOP_RULE@
man1_MANS = data/manpages/frogr.1
edit = sed -e 's,@BINDIR\@,$(bindir),g' -e 's,@PIXMAPDIR\@,$(pixmapdir),g'
-data/frogr.desktop: data/frogr.desktop.in
+data/frogr.desktop.in: data/frogr.desktop.in.in
mkdir -p $(builddir)/data
- $(edit) $(srcdir)/data/frogr.desktop.in > $(builddir)/data/frogr.desktop
+ $(edit) $(srcdir)/data/frogr.desktop.in.in > $(builddir)/data/frogr.desktop.in
DISTCLEANFILES = $(builddir)/data/frogr.desktop
@@ -82,7 +84,7 @@ EXTRA_DIST = \
MAINTAINERS \
TRANSLATORS \
TODO \
- data/frogr.desktop.in \
+ data/frogr.desktop.in.in \
$(pixmap_DATA) \
$(icon16_DATA) \
$(icon24_DATA) \
diff --git a/data/frogr.desktop.in b/data/frogr.desktop.in.in
similarity index 100%
rename from data/frogr.desktop.in
rename to data/frogr.desktop.in.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 837a818..26841e0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,5 @@
# List of source files containing translatable strings.
-data/frogr.desktop.in
+data/frogr.desktop.in.in
src/frogr-about-dialog.c
src/frogr-add-tags-dialog.c
src/frogr-add-to-set-dialog.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index f58cbbc..2263409 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,2 +1,2 @@
-data/frogr.desktop
-data/gtkbuilder/frogr-main-view.xml
\ No newline at end of file
+data/frogr.desktop.in
+data/gtkbuilder/frogr-main-view.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]