1 ## Makefile for the gettext-tools/projects subdirectory of GNU gettext
2 ## Copyright (C) 2001-2003 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 2, or (at your option)
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, write to the Free Software
16 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 ## Process this file with automake to produce Makefile.in.
20 AUTOMAKE_OPTIONS = 1.2 gnits
25 pkgdatadir = $(datadir)/gettext
26 projectsdir = $(pkgdatadir)/projects
28 PROJECTS = TP KDE GNOME
29 SCRIPTFILES = team-address \
30 TP/trigger TP/team-address \
31 KDE/trigger KDE/team-address \
32 GNOME/trigger GNOME/team-address
34 TP/teams.url TP/teams.html \
35 KDE/teams.url KDE/teams.html \
36 GNOME/teams.url GNOME/teams.html
37 EXTRA_DIST += $(SCRIPTFILES) $(DATAFILES)
40 $(mkinstalldirs) $(DESTDIR)$(projectsdir)
41 @for p in $(PROJECTS); do \
42 echo "$(mkinstalldirs) $(DESTDIR)$(projectsdir)/$$p"; \
43 $(mkinstalldirs) $(DESTDIR)$(projectsdir)/$$p; \
45 @for f in $(SCRIPTFILES); do \
46 echo "$(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f"; \
47 $(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f; \
49 @for f in $(DATAFILES); do \
50 echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f"; \
51 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(projectsdir)/$$f; \
55 $(mkinstalldirs) $(DESTDIR)$(projectsdir)
56 @for p in $(PROJECTS); do \
57 echo "$(mkinstalldirs) $(DESTDIR)$(projectsdir)/$$p"; \
58 $(mkinstalldirs) $(DESTDIR)$(projectsdir)/$$p; \
62 @for f in $(SCRIPTFILES); do \
63 echo "$(RM) $(DESTDIR)$(projectsdir)/$$f"; \
64 $(RM) $(DESTDIR)$(projectsdir)/$$f; \
66 @for f in $(DATAFILES); do \
67 echo "$(RM) $(DESTDIR)$(projectsdir)/$$f"; \
68 $(RM) $(DESTDIR)$(projectsdir)/$$f; \
74 EXTRA_DIST += Makefile.vms
79 EXTRA_DIST += Makefile.msvc