This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Populate metaconfig branch.
[metaconfig.git] / dist-3.0at70b / bin / Jmakefile
1 /*
2  * Jmakefile for bin subdirectory.
3  */
4
5 ;# $Id: Jmakefile,v 3.0.1.1 1994/01/24 13:42:53 ram Exp $
6 ;#
7 ;#  Copyright (c) 1991-1993, Raphael Manfredi
8 ;#  
9 ;#  You may redistribute only under the terms of the Artistic Licence,
10 ;#  as specified in the README file that comes with the distribution.
11 ;#  You may reuse parts of this distribution only within the terms of
12 ;#  that same Artistic Licence; a copy of which may be found at the root
13 ;#  of the source tree for dist 3.0.
14 ;#
15 ;# $Log: Jmakefile,v $
16 ;# Revision 3.0.1.1  1994/01/24  13:42:53  ram
17 ;# patch16: added dependency generation stage
18 ;#
19 ;# Revision 3.0  1993/08/18  12:04:00  ram
20 ;# Baseline for dist 3.0 netwide release.
21 ;#
22
23 BINPL = packinit manilist
24 BIN = manicheck $(BINPL)
25
26 ShellScriptTarget($(BIN))
27
28 BINSH = \
29 |expand f!$(BINPL)!
30         !f.SH \
31 -expand \\
32
33 >SED
34 >RM
35 >MKDEP
36
37 depend::
38         ($(SED) '/^# DO NOT DELETE/q' Makefile && \
39         grep '^\$$grep' $(BINSH) | \
40         $(SED) -e "s/^.*' \([^ ]*\) >>[ ]*\([^ ]*\)/\2: \1/" \
41         ) > Makefile.new
42         cp Makefile Makefile.bak
43         cp Makefile.new Makefile
44         $(RM) Makefile.new
45