NetBSD/usr.bin/top/Make.desc.X

25 lines
757 B
Plaintext
Raw Normal View History

1999-02-15 02:54:06 +03:00
# Makefile for .desc files
# This makefile is the prototype for "Make.desc", which is used by
# top's Configure script to build .desc files and the SYNOPSIS file.
# Configure then uses these files to ask appropriate questions.
# Written by William LeFebvre, Group sys Consulting
# (formerly of Northwestern University and Rice University)
# DO NOT EDIT "Make.desc"!!! Make changes to "Make.desc.X",
# then "make veryclean", then run "Configure".
# The list of .desc files will be inserted after this next line:
DESCS=\
.SUFFIXES: .desc
.c.desc:
1999-02-15 05:20:55 +03:00
cd ${.CURDIR} ; sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@
1999-02-15 02:54:06 +03:00
all: SYNOPSIS
SYNOPSIS: $(DESCS)
1999-02-15 05:20:55 +03:00
cd ${.CURDIR} ; grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS