Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
5cac9696
Kaydet (Commit)
5cac9696
authored
Agu 06, 2021
tarafından
𐰀𐰞𐰃:𐰺𐰃𐰔𐰀:𐰚𐰀𐰾𐰚𐰃𐰤 (𐰽𐰆𐰞𐰃𐰤𐰆𐰽)
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Makefile fix
üst
8de9eafe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Makefile
Makefile
+1
-1
setup.py
setup.py
+4
-4
No files found.
Makefile
Dosyayı görüntüle @
5cac9696
...
@@ -18,6 +18,6 @@ pot:
...
@@ -18,6 +18,6 @@ pot:
build
:
build
:
python3 setup.py build
python3 setup.py build
install
:
install
:
mkdir
-p
{
DESTDIR
}
/usr/bin/
${
DESTDIR
}
/usr/lib/sulin
||
true
mkdir
-p
$
{
DESTDIR
}
/usr/bin/
${
DESTDIR
}
/usr/lib/sulin
||
true
python3 setup.py
install
--install-lib
=
${
DESTDIR
}
/usr/lib/sulin
--root
=
${
DESTDIR
}
--install-scripts
=
${
DESTDIR
}
/usr/bin
python3 setup.py
install
--install-lib
=
${
DESTDIR
}
/usr/lib/sulin
--root
=
${
DESTDIR
}
--install-scripts
=
${
DESTDIR
}
/usr/bin
[
-f
${
DESTDIR
}
/usr/bin/inary
]
||
ln
-s
inary-cli
${
DESTDIR
}
/usr/bin/inary
||
true
[
-f
${
DESTDIR
}
/usr/bin/inary
]
||
ln
-s
inary-cli
${
DESTDIR
}
/usr/bin/inary
||
true
setup.py
Dosyayı görüntüle @
5cac9696
...
@@ -58,7 +58,7 @@ class Build(build):
...
@@ -58,7 +58,7 @@ class Build(build):
build
.
run
(
self
)
build
.
run
(
self
)
self
.
mkpath
(
self
.
build_base
)
self
.
mkpath
(
self
.
build_base
)
if
getConfig
(
"NLS_SUPPORT"
)
and
0
==
os
.
system
(
"which intltool-merge
&>/dev/null
"
):
if
getConfig
(
"NLS_SUPPORT"
)
and
0
==
os
.
system
(
"which intltool-merge"
):
for
in_file
in
IN_FILES
:
for
in_file
in
IN_FILES
:
name
,
ext
=
os
.
path
.
splitext
(
in_file
)
name
,
ext
=
os
.
path
.
splitext
(
in_file
)
self
.
spawn
([
"intltool-merge"
,
"-x"
,
"po"
,
in_file
,
self
.
spawn
([
"intltool-merge"
,
"-x"
,
"po"
,
in_file
,
...
@@ -67,7 +67,7 @@ class Build(build):
...
@@ -67,7 +67,7 @@ class Build(build):
class
BuildPo
(
build
):
class
BuildPo
(
build
):
def
run
(
self
):
def
run
(
self
):
if
getConfig
(
"NLS_SUPPORT"
)
and
0
==
os
.
system
(
"which intltool-merge
&>/dev/null
"
):
if
getConfig
(
"NLS_SUPPORT"
)
and
0
==
os
.
system
(
"which intltool-merge"
):
build
.
run
(
self
)
build
.
run
(
self
)
self
.
build_po
()
self
.
build_po
()
...
@@ -134,7 +134,7 @@ class Install(install):
...
@@ -134,7 +134,7 @@ class Install(install):
install
.
finalize_options
(
self
)
install
.
finalize_options
(
self
)
def
installi18n
(
self
):
def
installi18n
(
self
):
if
not
getConfig
(
"NLS_SUPPORT"
)
and
0
==
os
.
system
(
"which intltool-merge
&>/dev/null
"
):
if
not
getConfig
(
"NLS_SUPPORT"
)
and
0
==
os
.
system
(
"which intltool-merge"
):
return
return
for
name
in
os
.
listdir
(
'po'
):
for
name
in
os
.
listdir
(
'po'
):
if
not
name
.
endswith
(
'.po'
):
if
not
name
.
endswith
(
'.po'
):
...
@@ -226,7 +226,7 @@ setup(name="inary",
...
@@ -226,7 +226,7 @@ setup(name="inary",
'install'
:
Install
,
'install'
:
Install
,
'test'
:
Test
},
'test'
:
Test
},
data_files
=
[(
CONFIG_DIR
,
[
"config/inary.conf"
,
"config/mirrors.conf"
]),
data_files
=
[(
CONFIG_DIR
,
[
"config/inary.conf"
,
"config/mirrors.conf"
]),
(
MIMEFILE_DIR
,
[
"build/inary.xml"
]
if
getConfig
(
"NLS_SUPPORT"
)
and
0
==
os
.
system
(
"which intltool-merge
&>/dev/null
"
)
else
[])],
(
MIMEFILE_DIR
,
[
"build/inary.xml"
]
if
getConfig
(
"NLS_SUPPORT"
)
and
0
==
os
.
system
(
"which intltool-merge"
)
else
[])],
scripts
=
([
'inary-cli'
,
scripts
=
([
'inary-cli'
,
'scripts/pspec2po'
,
'scripts/pspec2po'
,
'scripts/revdep-rebuild'
,
'scripts/revdep-rebuild'
,
...
...
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