diff options
author | Roland Pesch <pesch@cygnus> | 1993-04-08 22:14:53 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1993-04-08 22:14:53 +0000 |
commit | 8209a8c4c6c5857c46ec9525020e67da53590937 (patch) | |
tree | 9df9f9a1b1826f80d65f0fba840dc0f860f80fb3 | |
parent | d565311f22653f65007fb7598d425b0825c21401 (diff) | |
download | gdb-8209a8c4c6c5857c46ec9525020e67da53590937.zip gdb-8209a8c4c6c5857c46ec9525020e67da53590937.tar.gz gdb-8209a8c4c6c5857c46ec9525020e67da53590937.tar.bz2 |
(as.dvi target) update for new source file structure supporting
texinfo conditionals
(as.ms, as.mm, as.me targets) update for new structure, and add note that
these targets probably broken until texi2roff supports
texinfo conditionals
(clean-dvi target) new; clean dvi files and side effects
(clean-info target) clean out only info files
(clean target) run clean-dvi, clean-info
-rw-r--r-- | gas/doc/Makefile.in | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in index a669e76..6441449 100644 --- a/gas/doc/Makefile.in +++ b/gas/doc/Makefile.in @@ -71,7 +71,6 @@ TEXIDIR = $(srcdir)/../../texinfo ## all: -clean: install: -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi @@ -99,42 +98,47 @@ install-info: as.info dvi: as.dvi -as.dvi: as-${CONFIG}.texinfo - $(TEXI2DVI) as-${CONFIG}.texinfo - mv as-${CONFIG}.dvi as.dvi +as.dvi: as.texinfo asdoc-config.texi + $(TEXI2DVI) as.texinfo # ROFF doc targets as.ms, as.mm, as.me # (we don't use a variable because we don't trust all makes to handle # a var in the target name right). # roff output (-ms) -as.ms: as-${CONFIG}.texinfo +# THESE ARE PROBABLY BROKEN until texi2roff extended for Texinfo conditionals +as.ms: as.texinfo asdoc-config.texi sed -e '/\\input texinfo/d' \ -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \ -e 's/{.*,,/{/' \ - as-${CONFIG}.texinfo | \ + as.texinfo | \ texi2roff -ms >as.ms # roff output (-mm) -as.mm: as-${CONFIG}.texinfo +as.mm: as.texinfo asdoc-config.texi sed -e '/\\input texinfo/d' \ -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \ -e 's/{.*,,/{/' \ -e '/@noindent/d' \ - as-${CONFIG}.texinfo | \ + as.texinfo | \ texi2roff -mm | \ sed -e 's/---/\\(em/g' \ >as.mm # roff output (-me) -as.me: as-${CONFIG}.texinfo +as.me: as.texinfo asdoc-config.texi sed -e '/\\input texinfo/d' \ -e '/@c TEXI2ROFF-KILL/,/@c END TEXI2ROFF-KILL/d' \ -e 's/{.*,,/{/' \ - as-${CONFIG}.texinfo | \ + as.texinfo | \ texi2roff -me >as.me +clean: clean-dvi clean-info + +clean-dvi: + rm -f as.?? as.??? + clean-info: - rm -f as-${CONFIG}.* as.dvi as.info* + rm -f as.info* force: |