1# This file is part of MATE Utils. 2# 3# MATE Utils is free software: you can redistribute it and/or modify 4# it under the terms of the GNU General Public License as published by 5# the Free Software Foundation, either version 2 of the License, or 6# (at your option) any later version. 7# 8# MATE Utils is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY; without even the implied warranty of 10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11# GNU General Public License for more details. 12# 13# You should have received a copy of the GNU General Public License 14# along with MATE Utils. If not, see <https://www.gnu.org/licenses/>. 15 16SUBDIRS=icons 17 18desktopdir = $(datadir)/applications 19desktop_in_files = mate-system-log.desktop.in 20desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) 21 22$(desktop_in_files): $(desktop_in_files:.desktop.in=.desktop.in.in) 23 @sed -e "s|\@VERSION\@|@VERSION@|" $< > $@ 24 25$(desktop_DATA): $(desktop_in_files) 26if USE_NLS 27 $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ 28else 29 $(AM_V_GEN) cp $< $@ 30endif 31 32man_MANS = mate-system-log.1 33 34gsettings_SCHEMAS = org.mate.system-log.gschema.xml 35@GSETTINGS_RULES@ 36 37EXTRA_DIST = \ 38 logview-filter.ui \ 39 logview-toolbar.xml \ 40 mate-system-log.desktop.in.in \ 41 $(man_MANS) \ 42 org.mate.system-log.gresource.xml 43 44DISTCLEANFILES = \ 45 $(desktop_DATA) \ 46 $(desktop_in_files) \ 47 $(gsettings_SCHEMAS) 48 49-include $(top_srcdir)/git.mk 50