# Copyright (c) 2002 Peter Guntert. All rights reserved.

include ../../etc/config

FILES  = \
alias           ask             break           command            do              \
echo            erract          error           eval               exit            \
external        goto            if              info               intrinsics      \
label           nparam          nproc           parameter          path            \
plot_arc        plot_caro       plot_clip       plot_close         plot_comment    \
plot_cross      plot_curve      plot_dot        plot_errorbar      plot_file       \
plot_fit        plot_frame      plot_function   plot_label         plot_line       \
plot_mif        plot_plus       plot_polygon    plot_ps            plot_rectangle  \
plot_scale      plot_set        plot_shape      plot_spline        plot_square     \
plot_text       plot_triangle   plot_write      print              prompt          \
protocol        quit            readline        remove             return          \
set             show            sleep           special_characters subroutine      \
syntax          system          timing          type               unset           \
var

#HELPLINKS  = break/quit exit/quit return/quit error/print eval/set \
#             show/set unset/set external/set command/subroutine \
#             plot_caro/plot_dot plot_cross/plot_dot plot_plus/plot_dot \
#             plot_square/plot_dot plot_triangle/plot_dot plot_mif/plot_ps

all: topics

depend:

clean:
	../../etc/keep $(FILES) Makefile


topics: $(FILES)
	for i in $(FILES); do \
	  sed -n -e 's/\#\# //' -e '/ - /p' -e 1q $$i |\
	  sed -e 's,\(.*\),\1'"|../inclan/$$i,"; \
	done | sort -u > topics
