From 12e358e72e094a2bc192526c374a6bb0ff82e968 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Sat, 7 Aug 2004 15:30:16 +0000 Subject: new approach on the SGML problems: * copy the sgml files from $(srcdir) to . if the one in $(srcdir) is newer (if not building to a separate dir, this will be a circular dependency which is ignored) * convert the SGML file inside . if the source is newer than the target and sgmltools are available * if sgmltools are not available, fail during "make dist" or create dummy files otherwise (the dummy creation still ensures that the source is newer than the target by touching the files, this way the files will be built correctly if you install sgmltools later) * use a clean-docs target during distclean * advantage: read-only $(srcdir) should work now CVS patchset: 6877 CVS date: 2004/08/07 15:30:16 --- doc/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc/Makefile.am') diff --git a/doc/Makefile.am b/doc/Makefile.am index 818ad1b58..93c354b31 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -2,12 +2,14 @@ include $(top_srcdir)/misc/Makefile.common SUBDIRS = man hackersguide faq -EXTRA_DIST = $(docs_DATA) -docsdir = $(prefix)/share/doc/xine docs_DATA = README README.dvb README.dxr3 \ README.freebsd README.irix README.network_dvd README.opengl \ README.solaris README.syncfb -docs: +EXTRA_DIST = $(docs_DATA) + +docsdir = $(prefix)/share/doc/xine + +docs clean-docs: @cd faq && $(MAKE) $@ @cd hackersguide && $(MAKE) $@ -- cgit v1.2.3