fix make install for source
This commit is contained in:
parent
9db8fb66e9
commit
ca9a6fb86c
2
Makefile
2
Makefile
@ -10,7 +10,7 @@ install:
|
||||
mkdir -p ${DESTDIR}${PREFIX}/share/anki
|
||||
cp -av * ${DESTDIR}${PREFIX}/share/anki/
|
||||
cd ${DESTDIR}${PREFIX}/share/anki && (\
|
||||
mv runanki ${DESTDIR}${PREFIX}/local/bin/anki;\
|
||||
mv tools/runanki.system ${DESTDIR}${PREFIX}/local/bin/anki;\
|
||||
test -d ${DESTDIR}${PREFIX}/share/pixmaps &&\
|
||||
mv anki.xpm anki.png ${DESTDIR}${PREFIX}/share/pixmaps/;\
|
||||
mv anki.desktop ${DESTDIR}${PREFIX}/share/applications;\
|
||||
|
7
tools/runanki.system
Executable file
7
tools/runanki.system
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
sys.path.append("/usr/share/anki")
|
||||
|
||||
import aqt
|
||||
aqt.run()
|
Loading…
Reference in New Issue
Block a user