Commit 9ae8f9d2 authored by Sam Hocevar's avatar Sam Hocevar

* configure.ac: check for doxygen and latex to build documentation.

  * doc/Makefile.am: conditionally build documentation.
  * debian/*: use debian/compat instead of DH_COMPAT.
parent 01e2c942
......@@ -6,8 +6,6 @@ configure
config.log
config.cache
config.status
config.guess
config.sub
config.h
config.h.in
Makefile
......@@ -16,10 +14,4 @@ build-stamp
stamp-h*
aclocal.m4
autom4te.cache
compile
depcomp
install-sh
libtool
ltmain.sh
missing
mkinstalldirs
SUBDIRS = src test
DIST_SUBDIRS = $(SUBDIRS) debian doc autotools
SUBDIRS = src test doc
DIST_SUBDIRS = $(SUBDIRS) debian autotools
EXTRA_DIST = libdvdcss.spec bootstrap
......
$Id: NEWS,v 1.6 2003/07/29 19:49:13 gbazin Exp $
$Id: NEWS,v 1.7 2003/09/09 12:32:40 sam Exp $
Changes between 1.2.7 and 1.2.8:
--------------------------------
* win32 fix for encrypted DVDs.
* workaround for strange discs that report read errors seemingly at random.
......
README for libdvdcss, a portable abstraction library for DVD decryption
$Id: README,v 1.3 2003/09/09 12:32:40 sam Exp $
Introduction
......@@ -34,8 +35,8 @@ variables:
libcss.
This is the default method,
DVDCSS_VERBOSE={0|1|2}: libdvdcss verbosity
0: no error messages, no debug messages,
1: only error messages (this is the default)
0: no error messages, no debug messages (this is the default)
1: only error messages
2: error and debug messages
......
......@@ -188,5 +188,21 @@ AM_CONDITIONAL(SYS_BSDI, test "${SYS_BSDI}" = "1")
AM_CONDITIONAL(SYS_BSDI_LIBDVD, test "${SYS_BSDI_LIBDVD}" = "1")
AM_CONDITIONAL(SYS_MSVC, test "${SYS_MSVC}" = "1")
AC_OUTPUT([Makefile src/Makefile src/dvdcss/Makefile test/Makefile debian/Makefile doc/Makefile autotools/Makefile])
dnl
dnl Shall we build documentation?
dnl
AC_PATH_PROG(DOXYGEN, doxygen, no)
AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no")
AC_PATH_PROG(LATEX, latex, no)
AM_CONDITIONAL(LATEX, test "${LATEX}" != "no")
AC_OUTPUT([
Makefile
autotools/Makefile
debian/Makefile
doc/Makefile
src/Makefile
src/dvdcss/Makefile
test/Makefile
])
EXTRA_DIST = changelog control libdvdcss2-dev.dirs libdvdcss2.copyright libdvdcss2.dirs rules
NULL =
EXTRA_DIST = \
changelog \
compat \
control \
libdvdcss2-dev.dirs \
libdvdcss2.copyright \
libdvdcss2.dirs \
rules \
$(NULL)
libdvdcss (1.2.8-2) unstable; urgency=low
* debian/control:
+ Set policy to 3.6.0. No changes required.
+ Set debhelper build-dependency to (>= 4.0) because of debian/compat.
+ Build-depend on doxygen.
+ Build-depend on tetex-bin so we have latex and dvips.
* debian/rules:
+ Copy the HTML and PostScript documentation to the binary package.
-- Sam Hocevar (Debian packages) <sam+deb@zoy.org> Wed, 6 Aug 2003 16:57:46 +0200
libdvdcss (1.2.8-1) unstable; urgency=low
* New upstream release.
......
......@@ -2,8 +2,8 @@ Source: libdvdcss
Section: libs
Priority: optional
Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
Build-Depends: debhelper (>=3.0)
Standards-Version: 3.5.10
Build-Depends: debhelper (>= 4.0), doxygen, tetex-bin
Standards-Version: 3.6.0
Package: libdvdcss2
Section: libs
......
......@@ -4,12 +4,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=3
# Compilation options
export CONFIG_FLAGS="--prefix=/usr"
build: build-stamp
build-stamp:
dh_testdir
......@@ -49,6 +43,10 @@ install: build
debian/libdvdcss2-dev/usr/lib/
mv debian/libdvdcss2/usr/include debian/libdvdcss2-dev/usr/
cp -r doc/html debian/libdvdcss2/usr/share/doc/libdvdcss2/
cp doc/latex/refman.ps \
debian/libdvdcss2/usr/share/doc/libdvdcss2/libdvdcss.ps
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
......
EXTRA_DIST = doxygen.cfg footer.html header.html
doc:
all: stamp-doxygen stamp-latex
stamp-doxygen:
if DOXYGEN
doxygen doxygen.cfg
touch stamp-doxygen
endif
stamp-latex: stamp-doxygen
if DOXYGEN
if LATEX
cd latex && $(MAKE) $(AM_CFLAGS) ps
touch stamp-latex
endif
endif
clean: clean-local
clean-local:
-rm -Rf html latex
-rm -f stamp-latex stamp-doxygen
<!-- $Id: footer.html,v 1.2 2003/09/09 12:32:40 sam Exp $ -->
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libdvdcss documentation</title>
<link href="/main.css" rel="stylesheet" type="text/css">
<link href="/doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libdvdcss documentation</title>
<link href="/main.css" rel="stylesheet" type="text/css">
<link href="/doxygen.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- $Id: header.html,v 1.2 2003/09/09 12:32:40 sam Exp $ -->
......@@ -29,7 +29,11 @@ int main( int i_argc, char *ppsz_argv[] )
/* Check for 2 arguments */
if( i_argc != 3 )
{
printf( "usage: %s <device> <sector>\n", ppsz_argv[0] );
printf( "usage: %s <target> <sector>\n", ppsz_argv[0] );
printf( "examples:\n" );
printf( " %s /dev/hdc 1024\n", ppsz_argv[0] );
printf( " %s D: 1024\n", ppsz_argv[0] );
printf( " %s scrambledfile.vob 1024\n", ppsz_argv[0] );
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment