| 1 |
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: |
| 2 |
# |
| 3 |
# Copyright (c) 2010 Xfce Development Team |
| 4 |
# |
| 5 |
# This library is free software; you can redistribute it and/or |
| 6 |
# modify it under the terms of the GNU Library General Public |
| 7 |
# License as published by the Free Software Foundation; either |
| 8 |
# version 2 of the License, or (at your option) any later version. |
| 9 |
# |
| 10 |
# This library is distributed in the hope that it will be useful, |
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU Library General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU Library General |
| 16 |
# Public License along with this library; if not, write to the |
| 17 |
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 |
# Boston, MA 02110-1301, USA. |
| 19 |
|
| 20 |
menudir = $(sysconfdir)/xdg/menus |
| 21 |
menu_DATA = \ |
| 22 |
xfce-applications.menu |
| 23 |
|
| 24 |
directorydir = $(datadir)/desktop-directories |
| 25 |
directory_in_files = \ |
| 26 |
xfce-accessories.desktop.in \ |
| 27 |
xfce-development.desktop.in \ |
| 28 |
xfce-education.desktop.in \ |
| 29 |
xfce-games.desktop.in \ |
| 30 |
xfce-graphics.desktop.in \ |
| 31 |
xfce-hardware.desktop.in \ |
| 32 |
xfce-multimedia.desktop.in \ |
| 33 |
xfce-network.desktop.in \ |
| 34 |
xfce-office.desktop.in \ |
| 35 |
xfce-other.desktop.in \ |
| 36 |
xfce-personal.desktop.in \ |
| 37 |
xfce-science.desktop.in \ |
| 38 |
xfce-screensavers.desktop.in \ |
| 39 |
xfce-settings.desktop.in \ |
| 40 |
xfce-system.desktop.in |
| 41 |
|
| 42 |
directory_DATA = $(directory_in_files:.desktop.in=.directory) |
| 43 |
|
| 44 |
# FIXME: xgettext doesn't recognize .directory.in files as desktop files so we |
| 45 |
# use .desktop.in for the translation: is there a proper solution? |
| 46 |
%.directory: %.desktop.in |
| 47 |
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ |
| 48 |
|
| 49 |
EXTRA_DIST = \ |
| 50 |
$(directory_in_files) \ |
| 51 |
$(menu_DATA) |
| 52 |
|
| 53 |
DISTCLEANFILES = \ |
| 54 |
$(directory_DATA) |