* **/Makefile.am: Use CLEANFILES instead of a new clean rule to remove

temporary files generated at build time.


git-svn-id: svn://svn.zoy.org/elk/trunk@153 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
sam 2003-09-15 08:52:09 +00:00
parent 9234eef52b
commit 6f05008c8e
13 changed files with 13 additions and 35 deletions

View File

@ -1,4 +1,5 @@
EXTRA_DIST = bitstring.ms
CLEANFILES = index.raw index.ms bitstring.ps bitstring.html
if HAVE_GROFF
doc_DATA = bitstring.ps
@ -27,5 +28,3 @@ check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] bitstring.ms |\
grep -v "Empty command"
clean:
rm -f index.raw index.ms bitstring.ps bitstring.html

View File

@ -1,4 +1,5 @@
EXTRA_DIST = cprog.ms
CLEANFILES = side side.ref side.inx cprog.ps cprog.html
if HAVE_GROFF
doc_DATA = cprog.ps
@ -9,10 +10,6 @@ TROFF= groff -ms -t
UNROFF= unroff -ms
MKINDEX= awk -f ../util/mkindex.awk
clean: local-clean
local-clean:
rm -f side side.ref side.inx cprog.ps cprog.html
cprog.ps: cprog.ms side.ref side.inx
$(MKINDEX) cprog.ms | sed -f side.ref | $(TROFF) 2> /dev/null > $@

View File

@ -1,4 +1,5 @@
EXTRA_DIST = kernel.ms
CLEANFILES = index.raw index.ms kernel.ps kernel.html
if HAVE_GROFF
doc_DATA = kernel.ps
@ -27,6 +28,3 @@ check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] kernel.ms |\
grep -v "Empty command"
clean:
rm -f index.raw index.ms kernel.ps kernel.html

View File

@ -1,4 +1,5 @@
EXTRA_DIST = $(man_MANS)
CLEANFILES = elk.ps elk.1.html
man_MANS = elk.1
@ -16,9 +17,6 @@ elk.ps: elk.1
elk.1.html: elk.1
$(UNROFF) $?
clean:
rm -f elk.ps elk.1.html
install-data-local:
rm -f "$(DESTDIR)$(mandir)/scheme-elk.1"
ln -s elk.1 "$(DESTDIR)$(mandir)/scheme-elk.1"

View File

@ -1,4 +1,5 @@
EXTRA_DIST = oops.ms
CLEANFILES = index.raw index.ms oops.ps oops.html
if HAVE_GROFF
doc_DATA = oops.ps
@ -27,5 +28,3 @@ check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] oops.ms |\
grep -v "Empty command"
clean:
rm -f index.raw index.ms oops.ps oops.html

View File

@ -1,4 +1,5 @@
EXTRA_DIST = record.ms
CLEANFILES = index.raw index.ms record.ps record.html
if HAVE_GROFF
doc_DATA = record.ps
@ -27,5 +28,3 @@ check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] record.ms |\
grep -v "Empty command"
clean:
rm -f index.raw index.ms record.ps record.html

View File

@ -1,4 +1,5 @@
EXTRA_DIST = regexp.ms
CLEANFILES = index.raw index.ms regexp.ps regexp.html
if HAVE_GROFF
doc_DATA = regexp.ps
@ -27,5 +28,3 @@ check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] regexp.ms |\
grep -v "Empty command"
clean:
rm -f index.raw index.ms regexp.ps regexp.html

View File

@ -1,4 +1,5 @@
EXTRA_DIST = unix.ms
CLEANFILES = index.raw index.ms unix.ps unix.html
if HAVE_GROFF
doc_DATA = unix.ps
@ -27,5 +28,3 @@ check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] unix.ms |\
grep -v "Empty command"
clean:
rm -f index.raw index.ms unix.ps unix.html

View File

@ -1,4 +1,5 @@
EXTRA_DIST = usenix.ms
CLEANFILES = tmp.ref usenix.ps
if HAVE_GROFF
doc_DATA = usenix.ps
@ -17,6 +18,3 @@ usenix.html: usenix.ms tmp.ref
tmp.ref: usenix.ms
$(TROFF) usenix.ms 2> tmp.ref >/dev/null
clean:
rm -f tmp.ref usenix.ps

View File

@ -1,4 +1,5 @@
EXTRA_DIST = xlib.ms
CLEANFILES = index.raw index.ms xlib.ps xlib.html
if HAVE_GROFF
doc_DATA = xlib.ps
@ -27,5 +28,3 @@ check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] xlib.ms |\
grep -v "Empty command"
clean:
rm -f index.raw index.ms xlib.ps xlib.html

View File

@ -1,4 +1,5 @@
EXTRA_DIST = xt.ms
CLEANFILES = index.raw index.ms xt.ps xt.html
if HAVE_GROFF
doc_DATA = xt.ps
@ -27,5 +28,3 @@ check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] xt.ms |\
grep -v "Empty command"
clean:
rm -f index.raw index.ms xt.ps xt.html

View File

@ -1,6 +1,7 @@
NULL =
EXTRA_DIST = $(SOURCES_D)
CLEANFILES = $(SOURCES_C)
pkglib_LTLIBRARIES = $(motif_widgets_la)
@ -17,10 +18,6 @@ motif_widgets_la_LIBADD = $(top_builddir)/src/libelk.la @MOTIF_LIBS@
.d.c:
$(top_builddir)/src/elk -p .:$(top_srcdir)/scm:$(srcdir)/.. -l mkwidget.scm $< $@ motif
clean: clean-local
clean-local:
-rm -f $(SOURCES_C)
SOURCES_C = \
arrow-button.c \
bulletin-brd.c \

View File

@ -1,6 +1,7 @@
NULL =
EXTRA_DIST = $(SOURCES_D)
CLEANFILES = $(SOURCES_C)
pkglib_LTLIBRARIES = $(xaw_widgets_la)
@ -17,10 +18,6 @@ xaw_widgets_la_LIBADD = $(top_builddir)/src/libelk.la @XAW_LIBS@
.d.c:
$(top_builddir)/src/elk -p .:$(top_srcdir)/scm:$(srcdir)/.. -l mkwidget.scm $< $@ xaw
clean: clean-local
clean-local:
-rm -f $(SOURCES_C)
SOURCES_C = \
ascii.c \
box.c \