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
eta
gajim
Commits
37042490
Commit
37042490
authored
19 years ago
by
nkour
Browse files
Options
Downloads
Patches
Plain Diff
better Makefile, thanks to Danijel Tasov
parent
36bc5b8d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+13
-12
13 additions, 12 deletions
Makefile
po/Makefile
+1
-1
1 addition, 1 deletion
po/Makefile
with
14 additions
and
13 deletions
Makefile
+
13
−
12
View file @
37042490
...
...
@@ -4,10 +4,11 @@ MODULES = src src/common po
PREFIX
=
/usr
DESTDIR
=
/
FIND
=
find
-regex
'.*\.\(\(glade\)\|\(py\)\|\(xpm\)\|\(gif\)\|\(png\)\|\(mo\)\|\(wav\)\)'
FIND
=
find
.
\(
-name
'*.glade'
-o
-name
'*.py'
-o
-name
'*.xpm'
-o
-name
'*.gif'
-o
-name
'*.png'
-o
-name
'*.mo'
-o
-name
'*.wav'
\)
FILES
=
`
$(
FIND
)
`
DIRS
=
`
$(
FIND
)
-exec
dirname
{}
\;
|
sort
-u
`
FIND_LIB
=
find
-regex
'.*\.\(so\)
'
FIND_LIB
=
find
.
-name
'*.so
'
FILES_LIB
=
`
$(
FIND_LIB
)
`
SCRIPTS
=
\
...
...
@@ -16,29 +17,29 @@ SCRIPTS = \
all
:
translation trayicon gtkspell idle
translation
:
make
-C
po all
${
MAKE
}
-C
po all
trayicon
:
make
-C
src trayicon.so
;
${
MAKE
}
-C
src trayicon.so
;
gtkspell
:
make
-C
src gtkspell.so
;
${
MAKE
}
-C
src gtkspell.so
;
idle
:
make
-C
src/common all
;
${
MAKE
}
-C
src/common all
;
clean
:
find
-name
*
.pyc
-exec
rm
{}
\;
find
-name
*
.pyo
-exec
rm
{}
\;
find
-name
*
.mo
-exec
rm
{}
\;
$(
foreach sdir,
$(
MODULES
)
,
make
-C
$(
sdir
)
clean
;)
find
.
-name
*
.pyc
-exec
rm
{}
\;
find
.
-name
*
.pyo
-exec
rm
{}
\;
find
.
-name
*
.mo
-exec
rm
{}
\;
$(
foreach sdir,
$(
MODULES
)
,
${
MAKE
}
-C
$(
sdir
)
clean
;)
dist
:
-
rm
-rf
gajim-
$(
VERSION
)
rm
-rf
gajim-
$(
VERSION
)
mkdir
gajim-
$(
VERSION
)
cp
-r
data src doc po scripts gajim-
$(
VERSION
)
/
cp
AUTHORS gajim.1 gajim.xpm gajim.ico gajim.desktop gajim.pot COPYING Makefile Changelog README launch.sh gajim-
$(
VERSION
)
-
find gajim-
$(
VERSION
)
-name
'.svn'
-exec
rm
-rf
{}
\;
2> /dev/null
find gajim-
$(
VERSION
)
-name
'.svn'
-exec
rm
-rf
{}
\;
2> /dev/null
find gajim-
$(
VERSION
)
-name
'*.pyc'
-exec
rm
{}
\;
find gajim-
$(
VERSION
)
-name
'*.pyo'
-exec
rm
{}
\;
find gajim-
$(
VERSION
)
-name
'.*'
-exec
rm
{}
\;
...
...
This diff is collapsed.
Click to expand it.
po/Makefile
+
1
−
1
View file @
37042490
...
...
@@ -7,4 +7,4 @@ all: $(LANGDIR)
msgfmt
$<
-o
$@
clean
:
find
-name
'*.mo'
-exec
rm
{}
\;
find
.
-name
'*.mo'
-exec
rm
{}
\;
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