summaryrefslogtreecommitdiff
path: root/doc/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Makefile.sub')
-rw-r--r--doc/Makefile.sub14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/Makefile.sub b/doc/Makefile.sub
index faf49cfd..4cd96699 100644
--- a/doc/Makefile.sub
+++ b/doc/Makefile.sub
@@ -35,10 +35,6 @@ groff_bin_dirs=\
$(top_builddir)/src/devices/grohtml
groff_bin_path=`echo $(groff_bin_dirs) | sed -e 's| \+|:|g'`
-version=`cat $(top_srcdir)/VERSION`
-# No additional number if revision is zero.
-revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' $(top_srcdir)/REVISION`
-
FFLAG=-F$(top_builddir)/font -F$(top_srcdir)/font
TFLAG=-M$(top_builddir)/tmac -M$(top_srcdir)/tmac
@@ -83,14 +79,18 @@ htmldocimagedir=$(htmldocdir)/$(imagedir)
exampleimagedir=$(exampledir)/$(imagedir)
CLEANADD=\
- `if test $(srcdir) = .; then :; \
- else echo grnexmpl.g groff groff-*; fi` \
$(PROCESSEDDOCFILES) \
- $(PROCESSEDEXAMPLEFILES)
+ $(PROCESSEDEXAMPLEFILES) \
+ $(HTMLDOCFILES)
CLEANDIRADD=\
$(imagedir)
+CLEANNOTSRCDIRADD=\
+ grnexmpl.g \
+ groff \
+ groff-*
+
.SUFFIXES: .me .ms .ps .html
# For simplicity, we always call grn and eqn.