From 5882cfd66a81715023f8da72c3cb16a506531945 Mon Sep 17 00:00:00 2001 From: Guilhem Bonnefille Date: Tue, 15 Jul 2008 20:28:39 +0000 Subject: [PATCH] Better integration of .desktop file --- po/POTFILES.in | 1 + src/Makefile.am | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index ed9c2e24..4298c4e3 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -31,3 +31,4 @@ src/viktrwlayer.c src/viktrwlayer_propwin.c src/viktrwlayer_tpwin.c src/vikwindow.c +src/viking.desktop.in diff --git a/src/Makefile.am b/src/Makefile.am index 9c1d9fdd..fff569ce 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,7 +14,6 @@ authors.h: ../AUTHORS sed -e "s/ \*\*.*//" -e 's/^/"/' -e 's/$$/\\n"\\/' -e '$$s/\\$$//' $< >> $@ BUILT_SOURCES = authors.h -CLEANFILES = $(BUILT_SOURCES) libviking_a_SOURCES = \ modules.h modules.c \ @@ -114,6 +113,7 @@ AM_CFLAGS = -Wall -g -D_GNU_SOURCE desktopdir = $(datadir)/applications desktop_in_files = viking.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +EXTRA_DIST=$(desktop_in_files) +BUILT_SOURCES += viking.desktop -EXTRA_DIST = \ - viking.desktop.in +CLEANFILES = $(BUILT_SOURCES) -- 2.39.5