Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
hostinfo
Commits
e00055f1
Commit
e00055f1
authored
Sep 04, 2019
by
Anders Blomdell
Browse files
Generate both python2 and python3 versions
parent
d747ca87
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
e00055f1
/hostinfo
/hostinfo2
/hostinfo3
*.bak
*.pyc
*~
Makefile
View file @
e00055f1
TARGETS
:
hostinfo
TARGETS
:
hostinfo
2 hostinfo3
all
:
$(TARGETS)
hostinfo
:
src/hostinfo.py $(sort $(wildcard src/hostinfo/*.py)) Makefile
(
cd
src
;
apa
-o
../
$@
$(
filter
%.py,
$
(
^:src/%
=
%
))
)
hostinfo2
:
src/hostinfo.py $(sort $(wildcard src/hostinfo/*.py)) Makefile
(
cd
src
;
apa
--interpreter
=
/usr/bin/python2
\
-o
../
$@
$(
filter
%.py,
$
(
^:src/%
=
%
))
)
hostinfo3
:
src/hostinfo.py $(sort $(wildcard src/hostinfo/*.py)) Makefile
(
cd
src
;
apa
--interpreter
=
/usr/bin/python3
\
-o
../
$@
$(
filter
%.py,
$
(
^:src/%
=
%
))
)
Write
Preview
Supports
Markdown
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