Make.desc.X revision 24139
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
724139Sjoerg# Written by William LeFebvre, Argonne National Laboratory
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
1324139SjoergDESCS=%descs%
1424139Sjoerg
1524139Sjoerg.SUFFIXES: .desc
1624139Sjoerg
1724139Sjoerg.c.desc:
1824139Sjoerg	sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@
1924139Sjoerg
2024139Sjoergall: SYNOPSIS
2124139Sjoerg
2224139SjoergSYNOPSIS: $(DESCS)
2324139Sjoerg	grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS
24