forked from Imagelibrary/rtems
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
36 lines
737 B
Makefile
36 lines
737 B
Makefile
#
|
|
# COPYRIGHT (c) 1988-2002.
|
|
# On-Line Applications Research Corporation (OAR).
|
|
# All rights reserved.
|
|
|
|
PROJECT = new_chapters
|
|
|
|
include $(top_srcdir)/project.am
|
|
include $(top_srcdir)/main.am
|
|
|
|
GENERATED_FILES = error.texi monitor.texi
|
|
|
|
COMMON_FILES += $(top_srcdir)/common/cpright.texi
|
|
|
|
FILES =
|
|
|
|
info_TEXINFOS = new_chapters.texi
|
|
new_chapters_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
|
|
|
|
error.texi: error.t
|
|
$(BMENU2) -p "" \
|
|
-u "Top" \
|
|
-n "" < $< > $@
|
|
|
|
monitor.texi: monitor.t
|
|
$(BMENU2) -p "" \
|
|
-u "Top" \
|
|
-n "" < $< > $@
|
|
|
|
noinst_SCRIPTS = gen_section
|
|
|
|
EXTRA_DIST = error.t monitor.t STATUS TODO \
|
|
$(noinst_SCRIPTS)
|
|
|
|
CLEANFILES += new_chapters.info new_chapters.info-?
|