Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
93f3c135
Commit
93f3c135
authored
Feb 05, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* added a package-translations target
- holds doc/translations.txt - all the .po's - convert-po.sh
parent
6051a4ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
Makefile.am
Makefile.am
+30
-0
doc/Makefile.am
doc/Makefile.am
+2
-0
No files found.
Makefile.am
View file @
93f3c135
...
...
@@ -467,6 +467,8 @@ VLC.app: vlc
output.m
\
playlist.h
\
playlist.m
\
prefs_widgets.h
\
prefs_widgets.m
\
prefs.h
\
prefs.m
\
vout.h
\
...
...
@@ -686,6 +688,34 @@ package-macosx:
# Clean up
rm
-Rf
$(top_builddir)/tmp
package-translations
:
@
if
test
-e
"
$(srcdir)
/vlc-translations-
${VERSION}
"
;
then
\
echo
"Error: please remove
$(srcdir)
/vlc-translations-
${VERSION}
, it is in the way"
;
\
false
;
\
else
\
echo
"OK."
;
mkdir
-p
"
$(srcdir)
/vlc-translations-
${VERSION}
"
;
\
fi
# Copy translations
for
i
in
$(ALL_LINGUAS);
do
\
cp
"$(srcdir)/po/$${i}.po"
\
"$(srcdir)/vlc-translations-${VERSION}/$${i}.po"
\
||
true
;
\
done
cp
"$(srcdir)/doc/translations.txt"
\
"$(srcdir)/vlc-translations-${VERSION}/README.txt"
echo
"#!/bin/sh"
>>
"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
echo
""
>>
"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
echo
'if test $$# != 1; then'
>>
"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
echo " echo \"Usage
:
convert-po.sh <.po file>
\"
" >>"$(srcdir)/vlc-translations-$(VERSION)/convert.po.sh"
echo
" exit 1"
>>
"
$(srcdir)
/vlc-translations-
$(VERSION)
/convert.po.sh"
echo
"fi"
>>
"
$(srcdir)
/vlc-translations-
$(VERSION)
/convert.po.sh"
echo
""
>>
"
$(srcdir)
/vlc-translations-
$(VERSION)
/convert.po.sh"
echo
'msgfmt --statistics -o vlc.mo $$1'
>>
"
$(srcdir)
/vlc-translations-
$(VERSION)
/convert.po.sh"
$(AMTAR)
chof
-
$(srcdir)/vlc-translations-$(VERSION)
\
|
GZIP
=
$(GZIP_ENV)
gzip
-c
>
$(srcdir)
/vlc-translations-
$(VERSION)
.tar.gz
###############################################################################
# Stamp rules
###############################################################################
...
...
doc/Makefile.am
View file @
93f3c135
...
...
@@ -32,5 +32,7 @@ EXTRA_DIST = \
skins/skins-howto.txt
\
skins/events-howto.txt
\
skins/curve_maker
\
strings.txt
\
translations.txt
\
win32/Cross-Compile-Howto.txt
\
$(NULL)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment