summaryrefslogtreecommitdiff
path: root/logview/data/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'logview/data/Makefile.am')
-rw-r--r--logview/data/Makefile.am23
1 files changed, 22 insertions, 1 deletions
diff --git a/logview/data/Makefile.am b/logview/data/Makefile.am
index 1d346fec..eeaf20fb 100644
--- a/logview/data/Makefile.am
+++ b/logview/data/Makefile.am
@@ -1,12 +1,33 @@
+# This file is part of MATE Utils.
+#
+# MATE Utils is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# MATE Utils is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with MATE Utils. If not, see <https://www.gnu.org/licenses/>.
+
SUBDIRS=icons
desktopdir = $(datadir)/applications
desktop_in_files = mate-system-log.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+
$(desktop_in_files): $(desktop_in_files:.desktop.in=.desktop.in.in)
@sed -e "s|\@VERSION\@|@VERSION@|" $< > $@
+
$(desktop_DATA): $(desktop_in_files)
- $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+if USE_NLS
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp $< $@
+endif
man_MANS = mate-system-log.1