[MPlayer-DOCS] CVS: main/DOCS/xml Makefile,1.23,1.24

Diego Biurrun CVS syncmail at mplayerhq.hu
Sat Apr 16 01:23:45 CEST 2005


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/DOCS/xml
In directory mail:/var2/tmp/cvs-serv2169

Modified Files:
	Makefile 
Log Message:
releaseclean should now work as expected, crate of Coke going in my direction.


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/xml/Makefile,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- Makefile	12 Apr 2005 11:01:10 -0000	1.23
+++ Makefile	15 Apr 2005 23:23:43 -0000	1.24
@@ -28,6 +28,8 @@
 	@echo "clean             : Purge the 'HTML' and 'HTML-single' directories."
 	@echo "releaseclean      : Remove generated files but keep the HTML."
 	@echo "distclean         : Remove ALL generated files."
+	@echo "clean-LANG        : Remove HTML files for one language."
+	@echo "releaseclean-LANG : Remove generated files for one language."
 	@echo "distclean-LANG    : Remove ALL generated files for one language."
 	@echo "Substitute LANG for one of $(SUBDIRS)"
 
@@ -53,7 +55,7 @@
 	-rm -rf $(HTML_SINGLE)
 
 .PHONY: releaseclean distclean clean
-releaseclean: $(addprefix distclean-,$(SUBDIRS))
+releaseclean: $(addprefix releaseclean-,$(SUBDIRS))
 	-rm -f html-chunk.xsl html-single.xsl xsltproc.sh xmllint.sh
 
 distclean: clean releaseclean
@@ -64,7 +66,8 @@
 clean: clean-html-chunked clean-html-single
 
 define lang-def
-.PHONY: html-chunked-$(1) html-single-$(1) xmllint-$(1) distclean-$(1)
+.PHONY: html-chunked-$(1) html-single-$(1) xmllint-$(1) \
+  distclean-$(1) releaseclean-$(1) clean-$(1)
 html-chunked-$(1): xsltproc.sh xmllint.sh chunked-dir
 	(test -d $(HTML_CHUNKED)/$(1) || mkdir $(HTML_CHUNKED)/$(1))
 	$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) html-chunked
@@ -76,8 +79,12 @@
 xmllint-$(1): xmllint.sh
 	$(MAKE) HTMLFILE=../$(HTML_SINGLE)/$(1)/MPlayer.html -C $(1) xmllint
 
-distclean-$(1):
+distclean-$(1): clean-$(1) releaseclean-$(1)
+
+clean-$(1):
 	-rm -rf $(HTML_SINGLE)/$(1) $(HTML_CHUNKED)/$(1)
+
+releaseclean-$(1):
 	$(MAKE) HTMLDIR=../$(HTML_CHUNKED)/$(1) -C $(1) distclean
 endef
 




More information about the MPlayer-DOCS mailing list