Annotation of src/usr.bin/top/Make.desc.X, Revision 1.2
1.1 simonb 1: # Makefile for .desc files
2:
3: # This makefile is the prototype for "Make.desc", which is used by
4: # top's Configure script to build .desc files and the SYNOPSIS file.
5: # Configure then uses these files to ask appropriate questions.
6:
7: # Written by William LeFebvre, Group sys Consulting
8: # (formerly of Northwestern University and Rice University)
9:
10: # DO NOT EDIT "Make.desc"!!! Make changes to "Make.desc.X",
11: # then "make veryclean", then run "Configure".
12:
13: # The list of .desc files will be inserted after this next line:
14: DESCS=\
15:
16: .SUFFIXES: .desc
17:
18: .c.desc:
1.2 ! simonb 19: cd ${.CURDIR} ; sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@
1.1 simonb 20:
21: all: SYNOPSIS
22:
23: SYNOPSIS: $(DESCS)
1.2 ! simonb 24: cd ${.CURDIR} ; grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS
CVSweb <webmaster@jp.NetBSD.org>