Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xfwm4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xfce
xfwm4
Commits
d39d9c6a
Commit
d39d9c6a
authored
15 years ago
by
Olivier Fourdan
Browse files
Options
Downloads
Patches
Plain Diff
Use Jannis' autogen.sh script from Thunar
parent
9dc8058c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
autogen.sh
+16
-30
16 additions, 30 deletions
autogen.sh
with
16 additions
and
30 deletions
autogen.sh
+
16
−
30
View file @
d39d9c6a
#!/bin/sh
#
# $Id$
# vi:set et ai sw=2 sts=2 ts=2: */
#-
# Copyright (c) 2009 Jannis Pohlmann <jannis@xfce.org>
#
# Copyright (c) 2002-2005
# The Xfce development team. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# Written for Xfce by Benedikt Meurer <benny@xfce.org>.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# Set locale to C to avoid troubles with "svn info" output parsing
LC_ALL
=
C
LANG
=
C
export
LC_ALL LANG
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
(
type
xdt-autogen
)
>
/dev/null 2>&1
||
{
cat
>
&2
<<
EOF
...
...
@@ -23,24 +29,4 @@ EOF
exit
1
}
# verify that po/LINGUAS is present
(
test
-f
po/LINGUAS
)
>
/dev/null 2>&1
||
{
cat
>
&2
<<
EOF
autogen.sh: The file po/LINGUAS could not be found. Please check your snapshot
or try to checkout again.
EOF
exit
1
}
echo
"Creating configure.ac"
# substitute revision and linguas
linguas
=
`
sed
-e
'/^#/d'
po/LINGUAS
`
revision
=
`
git rev-parse
--short
HEAD
`
sed
-e
"s/@LINGUAS@/
${
linguas
}
/g"
\
-e
"s/@REVISION@/
${
revision
}
/g"
\
<
"configure.ac.in"
>
"configure.ac"
exec
xdt-autogen
$@
# vi:set ts=2 sw=2 et ai:
XDT_AUTOGEN_REQUIRED_VERSION
=
"4.7.0"
exec
xdt-autogen
$@
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment