source: trunk/indexers/mg/src/scripts/Makefile.in@ 10813

Last change on this file since 10813 was 10813, checked in by kjdon, 18 years ago

changed bindir=../../../../bin to bindir=${exec_prefix}/bin

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1###########################################################################
2#
3# Makefile.in -- Makefile for the MG system
4# Copyright (C) 1994 Neil Sharman
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19#
20# @(#)Makefile.in 1.10 22 Mar 1994
21#
22###########################################################################
23
24PACKAGE = @PACKAGE@
25VERSION = @VERSION@
26
27SHELL = /bin/sh
28VPATH = @srcdir@
29exec_prefix = @exec_prefix@
30prefix = @prefix@
31srcdir = @srcdir@
32subdir = src/scripts
33top_srcdir = @top_srcdir@
34transform = @program_transform_name@
35GSDLOS = @gsdlos@
36
37DEFS = @DEFS@
38INSTALL = @INSTALL@
39INSTALL_DATA = @INSTALL_DATA@
40INSTALL_PROGRAM = @INSTALL_PROGRAM@
41TOUCH = echo timestamp >
42
43bindir = $(exec_prefix)/bin
44datadir = $(prefix)/share
45libexecdir = $(exec_prefix)/libexec
46localedir = $(datadir)/locale
47mandir = $(prefix)/man/man1
48
49SHFILES = mgbuild.sh mgbuild_4.sh mg_get.sh xmg.sh mg_get_merge.sh mgmerge.sh
50
51MISC = Makefile.in
52
53ALLFILES = $(SHFILES) $(MISC) $(MAN)
54
55DISTFILES = $(ALLFILES)
56
57EXEC = mgbuild mg_get xmg mg_get_merge mgmerge mgbuild_4
58
59MAN = mgbuild.1 mgbuild_4.1 mg_get.1 xmg.1 mg_get_merge.1 mgmerge.1
60
61# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
62
63
64all: $(EXEC)
65
66
67# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
68
69mgbuild : mgbuild.sh
70 @rm -f $@
71 cat mgbuild.sh >$@
72 chmod +x $@
73
74mgbuild_4 : mgbuild_4.sh
75 @rm -f $@
76 cat mgbuild_4.sh >$@
77 chmod +x $@
78
79mg_get : mg_get.sh
80 @rm -f $@
81 cat mg_get.sh >$@
82 chmod +x $@
83
84mgmerge : mgmerge.sh
85 @rm -f $@
86 cat mgmerge.sh >$@
87 chmod +x $@
88
89mg_get_merge : mg_get_merge.sh
90 @rm -f $@
91 cat mg_get_merge.sh >$@
92 chmod +x $@
93
94xmg : xmg.sh
95 @rm -f $@
96 cat xmg.sh >$@
97 chmod +x $@
98
99# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
100
101
102install: execinstall #maninstall
103uninstall: execuninstall manuninstall
104
105execinstall: $(EXEC)
106 for name in $(EXEC); do \
107 $(INSTALL_PROGRAM) $$name \
108 $(bindir)/`echo $$name | sed '$(transform)'`; \
109 done
110
111execuninstall:
112 for name in $(EXEC); do \
113 rm -f $(bindir)/`echo $$name | sed '$(transform)'`; \
114 done
115
116maninstall: $(MAN)
117 $(top_srcdir)/mkinstalldirs $(mandir); \
118 for f in $(MAN); do \
119 $(INSTALL_DATA) $$f $(mandir)/$$f ;\
120 done
121
122manuninstall: $(MAN)
123 for f in $(MAN); do \
124 rm -f $(mandir)/$$f ;\
125 done
126
127mostlyclean:
128
129clean: mostlyclean
130 rm -f $(EXEC)
131
132distclean: clean
133 rm -f ansi2knr
134 rm -f Makefile
135
136maintainer-clean: distclean
137 @echo "This command is intended only for maintainers to use;"
138 @echo "rebuilding the deleted files may require special tools."
139
140dist: $(DISTFILES)
141 for file in $(DISTFILES); do \
142 ln $(srcdir)/$$file $(distdir) 2> /dev/null \
143 || cp -p $(srcdir)/$$file $(distdir); \
144 done
145
146# screws up distclean (jrm21)
147#Makefile: Makefile.in ../../../../config.status
148# cd ../../../.. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
149
150# Tell versions [3.59,3.63) of GNU make not to export all variables.
151# Otherwise a system limit (for SysV at least) may be exceeded.
152.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.