Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Huelsmann
gajim
Commits
59029d7c
Commit
59029d7c
authored
19 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
we now install py files instead of pyo files
parent
725c5c03
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
Makefile
+7
-10
7 additions, 10 deletions
Makefile
with
7 additions
and
10 deletions
Makefile
+
7
−
10
View file @
59029d7c
...
...
@@ -4,33 +4,29 @@ MODULES = src src/common po
PREFIX
=
/usr
DESTDIR
=
/
FIND
=
find
-regex
'.*\.\(\(glade\)\|\(py
o
\)\|\(xpm\)\|\(gif\)\|\(png\)\|\(mo\)\|\(wav\)\)'
FIND
=
find
-regex
'.*\.\(\(glade\)\|\(py\)\|\(xpm\)\|\(gif\)\|\(png\)\|\(mo\)\|\(wav\)\)'
FILES
=
`
$(
FIND
)
`
DIRS
=
`
$(
FIND
)
-exec
dirname
{}
\;
|
sort
-u
`
FIND_LIB
=
find
-regex
'.*\.\(so\)'
FILES_LIB
=
`
$(
FIND_LIB
)
`
FIND_PY
=
find
-regex
'.*\.\(py\)'
FILES_PY
=
`
$(
FIND_PY
)
`
SCRIPTS
=
\
scripts/gajim
all
:
translation trayicon idle
pyo
all
:
translation trayicon
gtkspell
idle
translation
:
make
-C
po all
trayicon
:
make
-C
src all
;
make
-C
src trayicon.so
;
gtkspell
:
make
-C
src gtkspell.so
;
idle
:
make
-C
src/common all
;
pyo
:
for
f
in
$(
FILES_PY
)
;
do
\
python
-OO
-c
"import py_compile; py_compile.compile('
$$
f')"
;
\
done
clean
:
find
-name
*
.pyc
-exec
rm
{}
\;
find
-name
*
.pyo
-exec
rm
{}
\;
...
...
@@ -61,6 +57,7 @@ install:
DST
=
`
dirname
"
$$
f"
`
;
\
cp
"
$$
f"
"
$(
DESTDIR
)$(
PREFIX
)
/share/gajim/
$$
DST/"
;
\
done
rm
"
$(
DESTDIR
)$(
PREFIX
)
/share/gajim/setup_win32.py"
;
cp
COPYING
"
$(
DESTDIR
)$(
PREFIX
)
/share/gajim/"
;
mkdir
-p
"
$(
DESTDIR
)$(
PREFIX
)
/share/applications"
;
cp
gajim.desktop
"
$(
DESTDIR
)$(
PREFIX
)
/share/applications/"
;
...
...
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