1## Makefile for the gettext-tools/projects subdirectory of GNU gettext 2## Copyright (C) 2001-2003, 2006, 2013 Free Software Foundation, Inc. 3## 4## This program is free software: you can redistribute it and/or modify 5## it under the terms of the GNU General Public License as published by 6## the Free Software Foundation; either version 3 of the License, or 7## (at your option) any later version. 8## 9## This program is distributed in the hope that it will be useful, 10## but WITHOUT ANY WARRANTY; without even the implied warranty of 11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12## GNU General Public License for more details. 13## 14## You should have received a copy of the GNU General Public License 15## along with this program. If not, see <https://www.gnu.org/licenses/>. 16 17## Process this file with automake to produce Makefile.in. 18 19AUTOMAKE_OPTIONS = 1.2 gnits 20EXTRA_DIST = 21 22RM = rm -f 23 24pkgdatadir = $(datadir)/gettext 25projectsdir = $(pkgdatadir)/projects 26 27PROJECTS = TP KDE GNOME 28SCRIPTFILES = team-address \ 29 TP/trigger TP/team-address \ 30 KDE/trigger KDE/team-address \ 31 GNOME/trigger GNOME/team-address 32DATAFILES = index \ 33 TP/teams.url TP/teams.html \ 34 KDE/teams.url KDE/teams.html \ 35 GNOME/teams.url GNOME/teams.html 36EXTRA_DIST += $(SCRIPTFILES) $(DATAFILES) 37 38install-data-local: 39 $(MKDIR_P) $(DESTDIR)$(projectsdir) 40 @for p in $(PROJECTS); do \ 41 echo "$(MKDIR_P) $(DESTDIR)$(projectsdir)/$$p"; \ 42 $(MKDIR_P) $(DESTDIR)$(projectsdir)/$$p; \ 43 done 44 @for f in $(SCRIPTFILES); do \ 45 echo "$(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f"; \ 46 $(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f; \ 47 done 48 @for f in $(DATAFILES); do \ 49 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f"; \ 50 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f; \ 51 done 52 53installdirs-local: 54 $(MKDIR_P) $(DESTDIR)$(projectsdir) 55 @for p in $(PROJECTS); do \ 56 echo "$(MKDIR_P) $(DESTDIR)$(projectsdir)/$$p"; \ 57 $(MKDIR_P) $(DESTDIR)$(projectsdir)/$$p; \ 58 done 59 60uninstall-local: 61 @for f in $(SCRIPTFILES); do \ 62 echo "$(RM) $(DESTDIR)$(projectsdir)/$$f"; \ 63 $(RM) $(DESTDIR)$(projectsdir)/$$f; \ 64 done 65 @for f in $(DATAFILES); do \ 66 echo "$(RM) $(DESTDIR)$(projectsdir)/$$f"; \ 67 $(RM) $(DESTDIR)$(projectsdir)/$$f; \ 68 done 69