From: Michael R. <mr...@us...> - 2003-10-26 10:47:00
|
Update of /cvsroot/xine/xine-lib/doc/hackersguide In directory sc8-pr-cvs1:/tmp/cvs-serv30628/doc/hackersguide Modified Files: .cvsignore Makefile.am overview.sgml Removed Files: hackersguide.html Log Message: as Siggi and I agreed on: it is a bad idea to include pre-built versions of the SGML and FIG files in the cvs, not only does it provoke inconsistencies, it also breaks the current automatic update on xinehq.de, so: * remove any pre-built files from CVS * modify the Makefile's so that a "make dist" always rebuilds those files; that way, it is ensured that up-to-date pre-built versions are included in the release tarball so users don't need to install the whole docbook toolchain just to read the FAQ in HTML Index: .cvsignore =================================================================== RCS file: /cvsroot/xine/xine-lib/doc/hackersguide/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 23 Jun 2002 16:18:46 -0000 1.1 +++ .cvsignore 26 Oct 2003 10:44:39 -0000 1.2 @@ -1,2 +1,4 @@ Makefile Makefile.in +hackersguide.html +*.png Index: Makefile.am =================================================================== RCS file: /cvsroot/xine/xine-lib/doc/hackersguide/Makefile.am,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- Makefile.am 25 Oct 2003 00:49:11 -0000 1.8 +++ Makefile.am 26 Oct 2003 10:44:40 -0000 1.9 @@ -10,8 +10,7 @@ docs_DOCS = hackersguide.html architecture.png library.png overlays.png -EXTRA_DIST = README $(hackersguide_sgml) $(docs_DOCS) \ - architecture.fig library.fig overlays.fig +EXTRA_DIST = README $(hackersguide_sgml) architecture.fig library.fig overlays.fig docdir = $(prefix)/share/doc/xine/hackersguide @@ -38,12 +37,24 @@ docs: $(docs_DOCS) +dist-hook: + @make fail_if_missing=yes docs + cp $(docs_DOCS) $(distdir) + hackersguide.html: $(hackersguide_sgml) @if test "$(SGMLTOOLS)" != "no"; then \ $(SGMLTOOLS) -b onehtml hackersguide.sgml; \ + else if test "$(fail_if_missing)" = "yes"; then \ + echo "Please install sgmltools-lite."; \ + exit 1; \ + fi; \ fi %.png: %.fig @if test "$(FIG2DEV)" != "no"; then \ $(FIG2DEV) -L png -S 4 $< $@; \ + else if test "$(fail_if_missing)" = "yes"; then \ + echo "Please install fig2dev."; \ + exit 1; \ + fi; \ fi Index: overview.sgml =================================================================== RCS file: /cvsroot/xine/xine-lib/doc/hackersguide/overview.sgml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- overview.sgml 15 Oct 2003 16:40:34 -0000 1.2 +++ overview.sgml 26 Oct 2003 10:44:40 -0000 1.3 @@ -12,7 +12,10 @@ Directories marked with "(imported)" contain code that is copied from an external project into xine-lib. Everything below such a directory is up to this project. When modifying - code there, be sure to send the patches on. + code there, be sure to send the patches on. If some xine specific + adaptation of the code is absolutely necessary, a patch containing + the changes should be stored in CVS to not loose the changes the + next time we sync with the external project. </para> <para> <variablelist> --- hackersguide.html DELETED --- |