summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am10
-rw-r--r--doc/Makefile.am5
-rw-r--r--src/cd-paranoia/Makefile.am1
3 files changed, 11 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index 6bdad2f2..855b38a4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,5 @@
-# $Id: Makefile.am,v 1.50 2008/10/25 13:56:15 rocky Exp $
-#
-# Copyright (C) 2003, 2004, 2006, 2008 Rocky Bernstein <rocky@gnu.org>
+# Copyright (C) 2003, 2004, 2006, 2008, 2011
+# Rocky Bernstein <rocky@gnu.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -72,8 +71,10 @@ REGRESSION_VERSION = 1.1
distdir_regression = ../$(PACKAGE)-$(REGRESSION_VERSION)-tests
+#: run regression tests
test: check
+#: Make documentation via Doxygen http://www.stack.nl/~dimitri/doxygen/
doxygen:
-( cd ${top_srcdir}/doc/doxygen && /bin/sh ${srcdir}/run_doxygen )
@@ -121,14 +122,13 @@ check_iso.sh: $(top_builddir)/config.status check_iso.sh.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
chmod +x config_iso.sh
-make-executable:
-
# cvs2cl
MAINTAINERCLEANFILES = ChangeLog *.rej *.orig
if MAINTAINER_MODE
.PHONY: ChangeLog
+#: Create ChangeLog from version control
ChangeLog:
git log --pretty --numstat --summary | $(GIT2CL) >$@
diff --git a/doc/Makefile.am b/doc/Makefile.am
index dde10f01..38f0e729 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -19,12 +19,16 @@ libcdio_TEXINFOS = fdl.texi glossary.texi
reference:
-( cd ${top_srcdir} && $(MAKE) doxygen )
+#: Create documentation in PDF format
pdf: libcdio.pdf
+#: Create documentation as a text file
txt: libcdio.txt
+#: Create documentation in PostScript format
ps: libcdio.ps
+#: Create documentation in HTML format
html: libcdio.html
%.ps.gz: %.ps
@@ -39,6 +43,7 @@ html: libcdio.html
.texi.txt:
makeinfo --no-headers $< > $@
+# Create documentation in all formats, e.g. PDF, DVI, plain text and HTML
all-formats: pdf dvi txt ps html
MOSTLYCLEANFILES = libcdio.html libcdio.pdf libcdio.ps.gz
diff --git a/src/cd-paranoia/Makefile.am b/src/cd-paranoia/Makefile.am
index ccf62daa..9b521dee 100644
--- a/src/cd-paranoia/Makefile.am
+++ b/src/cd-paranoia/Makefile.am
@@ -45,6 +45,7 @@ INCLUDES = -I$(top_srcdir) $(LIBCDIO_CFLAGS)
cd-paranoia.$(OBJEXT): usage.h
+#: create header file used in help text: the "usage" help.
if HAVE_PERL
usage.h: usage.txt $(srcdir)/pod2c.pl
$(PERL) $(srcdir)/pod2c.pl usage.txt >usage.h