1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-19 05:41:16 +00:00
Commit Graph

77 Commits

Author SHA1 Message Date
diego
f5e3179c40 DOCS/xml: Get rid of xsltproc wrapper redirection
Run commands directly from make.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31538 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:11:42 +02:00
diego
445c846df0 DOCS/xml: Move xsltproc target file hack to the Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31537 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:11:42 +02:00
diego
204ffa4413 DOCS/xml: Get rid of xmllint wrapper redirection
Run commands directly from make.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31534 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:11:42 +02:00
diego
885d95c7c5 10l: Use the directory part of the stylesheet path to create a directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31168 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 22:31:47 +00:00
diego
3dd0551a26 cosmetics: Invoke all shell scripts during XML documentation build directly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31167 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 21:33:15 +00:00
diego
997f8e8c10 Create output directory when copying stylesheet.
This eliminates one rule and simplifies dependencies.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31166 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 21:31:36 +00:00
diego
f7d7d2db33 Do not run xmllint prior to building the XML documentation.
xmllint is just a convenient way to check for syntax errors;
it is not a requirement to build the documentation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31164 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 21:21:45 +00:00
diego
eabca4e7b2 XML docs: Make xmllint-* targets a dependency of html-chunked-*/html-single-*.
Since the xmllint-* targets are phony, they should never be a dependency
of real targets, so make them a dependency of the phony html-chunked-* /
html-single-* targets instead. This is just as correct, but now the docs are
regenerated when dependencies change and not with every make invocation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31163 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 14:27:26 +00:00
diego
0e9b9da3b2 Only mark targets whose names end in "clean" as phony.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31162 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 13:27:13 +00:00
diego
8de8a1c713 Make XML documentation build process nonrecursive.
This greatly simplifies the documentation build process and the Makefiles.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31160 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-11 13:13:32 +00:00
diego
23cdbb74fa Pass a language variable to submakes instead of reading subdirectory Makefiles.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31152 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-10 23:39:16 +00:00
diego
bcdf7c0b3d Put symlinks under revision control instead of generating them during make.
This simplifies the build system and should have no practical disadvantage.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31133 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-05-03 23:00:58 +00:00
diego
d018006adc Simplify the evaluation of the lang-def template:
Use the language variable directly in the template instead of passing
the language variable as a parameter to $(call).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30045 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-16 11:59:53 +00:00
diego
f39814302d Ignore errors from failing rm commands in clean targets.
This is also the policy we have in the top-level Makefile.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30033 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 03:19:01 +00:00
diego
ac50f58248 Do not ignore errors from mkdir invocations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30032 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 03:17:23 +00:00
diego
35a7136f5c The general xmllint target should only check configured languages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30031 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 03:14:21 +00:00
diego
055694d3cd Improve declaration of phony targets.
This prevents configure from being rerun all the time.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30030 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 03:09:09 +00:00
diego
1586e9212d Factorize dependencies of language-specific HTML generation targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30029 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 03:07:35 +00:00
diego
9e41ccd3bc spelling cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30028 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 03:01:40 +00:00
diego
6fe2e9b0ac Remove pointless dependency on xmllint.sh from phony xmllint target.
The individual language targets carry that dependency.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30027 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 02:59:39 +00:00
diego
0ba35473eb Drop pointless dependencies of the phony targets html-chunked and html-single.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30026 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 02:45:55 +00:00
diego
7cc9d58f73 Fix dependencies of html-chunked and html-single targets.
All the files generated by configure are required.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30025 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 02:42:59 +00:00
diego
8bc89968cf Exploit one more opportunity to make use of the CONFIGURE_GENERATED variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30024 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 02:40:55 +00:00
diego
bd1e209f88 Factorize all components generated by configure into a variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30023 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 02:39:22 +00:00
diego
b933c31df5 Construct monolithic targets with the HTMLDIR instead of the HTMLFILE variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30014 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-14 00:16:32 +00:00
diego
4a7eee5392 Factorize generating the list of all main.xml files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30013 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 23:59:10 +00:00
diego
82624ac049 configure also generates all main.xml files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30012 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 23:54:46 +00:00
diego
5ffe3cf479 Add html-chunk.xsl and html-single.xsl to targets generated by configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30011 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 23:50:38 +00:00
diego
b72afc004c Do not build monolithic documentation in a separate directory.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30007 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 22:51:55 +00:00
diego
7952f2315e - Remove now unnecessary dependency on intermediate directories.
- Update README.maintainers to reflect that the monolithic documentation
  is no longer built in a separate dir (accidentally committed part that
  belongs to the next committed revision).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30006 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 22:43:37 +00:00
diego
4e09307180 Do not pointlessly set the HTMLFILE variable when running xmllint.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30005 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 22:25:08 +00:00
diego
a1b76a2914 Simplify some commands via automatic variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30004 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 22:23:34 +00:00
diego
985b7e57ae Create required directories directly without intermediate steps.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30003 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 22:15:50 +00:00
diego
05de890bad Declare common dependencies for chunked and single HTML targets together.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30002 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 22:10:39 +00:00
diego
11dc4089e7 xmllint.sh is not a phony target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30000 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-12-13 21:43:31 +00:00
diego
7c8c916eba Do not run mkdir in a subshell.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28258 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 00:08:23 +00:00
diego
59e2cdc7da Skip pointless ignoring return value of 'rm -f'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28257 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 00:07:55 +00:00
diego
5b27b4d5d1 nonrecursive releaseclean target
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28256 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 00:04:34 +00:00
diego
61aa41b303 cosmetics: Move clean targets to the bottom.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28255 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 00:01:55 +00:00
diego
c204a4cd82 Remove pointless language-specific clean and distclean targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28254 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 23:50:44 +00:00
diego
099bfa593a Subsume clean-html-chunked and clean-html-single targets into clean target.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28253 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 23:45:14 +00:00
diego
037b9d1f63 Get rid of pointless chunked-dir and single-dir targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28251 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 23:34:38 +00:00
diego
2c2cd673c8 Simplify phony target declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28250 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-04 23:27:03 +00:00
diego
ebb8b63112 Only build the documentation in the languages requested from configure.
Fixes Bugzilla #978.
inspired by a patch from Jonas Berlin, bugs outerspace.dyndns org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27328 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-19 02:00:56 +00:00
ptt
2287ea0925 italian xml/html docs translation - first step. up till now accented vowels are
vowels are written as <vowel>', i'll change them all together to html
codes at the end :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23512 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-08 11:01:34 +00:00
diego
9a4588b2bf Merge all .PHONY target declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22485 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-07 12:41:03 +00:00
kraymer
57811efc18 svn move xml/zh to xml/zh_CN
* this is the appropriate, unique name
* fixes docbook compile warnings
* fixes docbook-generated text ("Warning", "Note", ..)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21665 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-18 01:19:34 +00:00
torinthiel
245f50c0dd Initial Chinese translation, by Kun Niu, haoniukun gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21641 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-17 08:29:42 +00:00
kraymer
9510f6f003 remove mkdir warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20374 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-22 17:04:26 +00:00
diego
cc76da3ec0 English docs should be built first.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18127 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-17 00:29:56 +00:00