124139Sjoerg# Makefile for .desc files
224139Sjoerg
324139Sjoerg# This makefile is the prototype for "Make.desc", which is used by
424139Sjoerg# top's Configure script to build .desc files and the SYNOPSIS file.
524139Sjoerg# Configure then uses these files to ask appropriate questions.
624139Sjoerg
789750Sdwmalone# Written by William LeFebvre, Group sys Consulting
824139Sjoerg#	     (formerly of Northwestern University and Rice University)
924139Sjoerg
1024139Sjoerg# DO NOT EDIT "Make.desc"!!!  Make changes to "Make.desc.X",
1124139Sjoerg# then "make veryclean", then run "Configure".
1224139Sjoerg
1389750Sdwmalone# The list of .desc files will be inserted after this next line:
1489750SdwmaloneDESCS=\
1524139Sjoerg
1624139Sjoerg.SUFFIXES: .desc
1724139Sjoerg
1824139Sjoerg.c.desc:
1924139Sjoerg	sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@
2024139Sjoerg
2124139Sjoergall: SYNOPSIS
2224139Sjoerg
2324139SjoergSYNOPSIS: $(DESCS)
2424139Sjoerg	grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS
25