Author: jtr
Update of /cvs/docs/release-notes/FC4 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7466
Modified Files: Makefile Log Message: Added a "make ChangeLogs" target that will generate both ".txt" and ".html" forms for the "release-notes/FC4" documentation tree. It needs the "cvs2cl" RPM installed for this to work. We probably DON'T want to include any of our ChangeLog* files in the distro, but they are nice to have locally. Maybe we could look into automatically doing a "make ChangeLogs" after every CVS commit.
Index: Makefile =================================================================== RCS file: /cvs/docs/release-notes/FC4/Makefile,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- Makefile 30 May 2005 23:44:55 -0000 1.12 +++ Makefile 31 May 2005 04:57:40 -0000 1.13 @@ -64,8 +64,27 @@ RELEASE-NOTES-${LANG}.txt: ${RNFILES} ${XMLCOMMONS}
clean: + ${RM} ChangeLog ChangeLog.xml
distclean clobber: clean + ${RM} ChangeLog-${LANG}.html ChangeLog.txt ${RM} -r README-${LANG}.pdf README-${LANG}.html README-${LANG} ${RM} -r RELEASE-NOTES-${LANG}.pdf RELEASE-NOTES-${LANG}.html \ RELEASE-NOTES-${LANG} RELEASE-NOTES-${LANG}.txt + +# If you have the "cvs2cl" package installed, then you can make +# fancy HTML ChangeLogs + +ChangeLogs: + ${RM} ChangeLog* + ${MAKE} ChangeLog.txt + ${MAKE} ChangeLog-${LANG}.html + +ChangeLog.txt: + LANG=C cvs2cl -f ChangeLog.txt + +ChangeLog.xml: + LANG=C cvs2cl --xml --xml-encoding UTF-8 -f ChangeLog.xml + +ChangeLog-${LANG}.html: ChangeLog.xml + xsltproc -o $@ /usr/share/xml/cvs2cl/cl2html.xslt $<
docs-commits@lists.fedoraproject.org