1 ## Makefile for the gettext-tools/projects subdirectory of GNU gettext
2 ## Copyright (C) 2001-2003, 2006, 2015 Free Software Foundation, Inc.
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.
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.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
17 ## Process this file with automake to produce Makefile.in.
19 AUTOMAKE_OPTIONS = 1.2 gnits
24 pkgdatadir = $(datadir)/gettext
25 projectsdir = $(pkgdatadir)/projects
27 PROJECTS = TP KDE GNOME
28 SCRIPTFILES = team-address \
29 TP/trigger TP/team-address \
30 KDE/trigger KDE/team-address \
31 GNOME/trigger GNOME/team-address
33 TP/teams.url TP/teams.html \
34 KDE/teams.url KDE/teams.html \
35 GNOME/teams.url GNOME/teams.html
36 EXTRA_DIST += $(SCRIPTFILES) $(DATAFILES)
39 $(MKDIR_P) $(DESTDIR)$(projectsdir)
40 @for p in $(PROJECTS); do \
41 echo "$(MKDIR_P) $(DESTDIR)$(projectsdir)/$$p"; \
42 $(MKDIR_P) $(DESTDIR)$(projectsdir)/$$p; \
44 @for f in $(SCRIPTFILES); do \
45 echo "$(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f"; \
46 $(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f; \
48 @for f in $(DATAFILES); do \
49 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f"; \
50 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f; \
54 $(MKDIR_P) $(DESTDIR)$(projectsdir)
55 @for p in $(PROJECTS); do \
56 echo "$(MKDIR_P) $(DESTDIR)$(projectsdir)/$$p"; \
57 $(MKDIR_P) $(DESTDIR)$(projectsdir)/$$p; \
61 @for f in $(SCRIPTFILES); do \
62 echo "$(RM) $(DESTDIR)$(projectsdir)/$$f"; \
63 $(RM) $(DESTDIR)$(projectsdir)/$$f; \
65 @for f in $(DATAFILES); do \
66 echo "$(RM) $(DESTDIR)$(projectsdir)/$$f"; \
67 $(RM) $(DESTDIR)$(projectsdir)/$$f; \