[xml/sgml] Debian GNU/Linux reference card

Geert Stappers stappers@stappers.nl
Tue, 11 May 2004 11:53:50 +0200


--xaMk4Io5JJdpkLEb
Content-Type: multipart/mixed; boundary="uCPdOCrL+PnN2Vxy"
Content-Disposition: inline


--uCPdOCrL+PnN2Vxy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 11, 2004 at 08:58:38AM +0000, W. Borgert wrote:
> On Tue, May 11, 2004 at 10:50:07AM +0200, Geert Stappers wrote:
> > What to do with http://people.debian.org/~debacle/debian-html.xsl
> > when refcard makes it into a CVS module?
>=20
> I don't think it's useful to have in CVS.  The refcard is
> "for printing only" - HTML is not important for it.

Okay, that makes sense.
Then index.html shoud be removed from the all target,
see attached patch.

What should go into CVS?
These files?:
 Makefile
 images/openlogo-nd.eps
 refcard.xsl
 refcard-de.dbk
 refcard-en.dbk
 refcard-es.dbk
 refcard-it.dbk
 refcard-nl.dbk

More files?

I propose a README like:
----

This is

 refcard

More information in the file refcard-en.dbk,
or in the PDF that the Makefile generates.

You need the packages

  xlstproc
  db2latex-xsl
  psutils

to build it.

Just type

  make

to get the reference card ready for printing.

----


Cheers
Geert Stappers

--uCPdOCrL+PnN2Vxy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.patch"
Content-Transfer-Encoding: quoted-printable

--- Makefile.debacle	2004-04-23 23:38:36.000000000 +0000
+++ Makefile	2004-05-11 10:30:31.000000000 +0000
@@ -51,10 +51,12 @@
 %-lt.pdf: %-lt.ps
 	ps2pdf -sPAPERSIZE=3Dletter $< $@
=20
-.PHONY: all clean count mrproper
-all: index.html $(patsubst %.dbk,%-a4.pdf,$(wildcard *.dbk)) \
+.PHONY: all clean count html mrproper
+all: $(patsubst %.dbk,%-a4.pdf,$(wildcard *.dbk)) \
     $(patsubst %.dbk,%-lt.pdf,$(wildcard *.dbk))
=20
+# update the webpage, not needed for printing the refcard
+html:
 index.html: refcard-en.dbk ../debian-html.xsl
 	$(XP) ../debian-html.xsl $< > index.html
=20

--uCPdOCrL+PnN2Vxy--

--xaMk4Io5JJdpkLEb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAoKKuOSINbgwa/7sRApS5AJ9dpxWvFMJyq6ryvhFyIrFUQFOg1ACeJzBu
yK8/qZlsYkul9smPT5j0MOk=
=cAE4
-----END PGP SIGNATURE-----

--xaMk4Io5JJdpkLEb--