summaryrefslogtreecommitdiffstats
path: root/doc/relnotes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/relnotes/Makefile53
-rw-r--r--doc/relnotes/Makefile.am21
2 files changed, 21 insertions, 53 deletions
diff --git a/doc/relnotes/Makefile b/doc/relnotes/Makefile
deleted file mode 100644
index a82a25fb54..0000000000
--- a/doc/relnotes/Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# COPYRIGHT (c) 1988-1999.
-# On-Line Applications Research Corporation (OAR).
-# All rights reserved.
-#
-# $Id$
-#
-
-PROJECT=relnotes
-
-include ../Make.config
-
-all: html info ps pdf
-
-dirs:
- $(make-dirs)
-
-COMMON_FILES=../common/cpright.texi
-
-FILES=install.texi intro.texi probrep.texi relnotes.texi status.texi
-
-info: dirs relnotes
- cp $(PROJECT) $(wildcard $(PROJECT)-*) $(INFO_INSTALL)
-
-relnotes: $(FILES)
- $(MAKEINFO) $(PROJECT).texi
-
-dvi: dirs $(PROJECT).dvi
-ps: dirs $(PROJECT).ps
-pdf: dirs $(PROJECT).pdf
-
-$(PROJECT).pdf: $(FILES)
- $(TEXI2PDF) $(PROJECT).texi
- cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).ps: $(PROJECT).dvi
- dvips -o $(PROJECT).ps $(PROJECT).dvi
- cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) $(PROJECT).texi
- cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
-
-html: dirs
- -mkdir -p $(WWW_INSTALL)/relnotes
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
- $(PROJECT).texi
-
-clean:
- rm -f *.o $(PROG) *.txt core *.html $(PROJECT).pdf
- rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
- rm -f relnotes relnotes-* _*
-
diff --git a/doc/relnotes/Makefile.am b/doc/relnotes/Makefile.am
new file mode 100644
index 0000000000..1f9c55b5bc
--- /dev/null
+++ b/doc/relnotes/Makefile.am
@@ -0,0 +1,21 @@
+#
+# COPYRIGHT (c) 1988-1999.
+# On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign
+
+PROJECT=relnotes
+
+include $(top_srcdir)/project.am
+
+COMMON_FILES=$(top_srcdir)/common/cpright.texi
+
+FILES=install.texi intro.texi probrep.texi relnotes.texi status.texi
+
+info_TEXINFOS = relnotes.texi
+relnotes_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
+