File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed
Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 11PKG := ldoce5viewer
22PYTHON := python
33
4- runqt : qtui qtresource
5- $(PYTHON ) ./ldoce5viewer.py
4+ build : precompile
5+ $(PYTHON ) ./setup.py build
6+
7+ install : build
8+ $(PYTHON ) ./setup.py install
9+ cp ./ldoce5viewer.desktop /usr/share/applications/
10+ cp ./ldoce5viewer/qtgui/resources/ldoce5viewer.svg /usr/share/pixmaps/
11+ [ -x /usr/bin/update-desktop-database ] && sudo update-desktop-database -q
612
713sdist : precompile
814 $(PYTHON ) ./setup.py sdist
1521qtresource :
1622 cd $(PKG ) /qtgui/resources/; $(MAKE )
1723
18- build : precompile
19- $(PYTHON ) ./setup.py build
20-
21- install : build
22- $(PYTHON ) ./setup.py install
23-
24-
2524.PHONY : clean clean-build
2625clean : clean-build
2726 cd $(PKG ) /qtgui/ui/; $(MAKE ) clean
Original file line number Diff line number Diff line change @@ -46,11 +46,7 @@ Installation
46461 . Enter the following commands in the terminal:
4747
4848``` bash
49- $ make
50- $ sudo python ./setup.py install --optimize
51- $ sudo cp ./ldoce5viewer.desktop /usr/share/applications/
52- $ sudo cp ./ldoce5viewer/qtgui/resources/ldoce5viewer.svg /usr/share/pixmaps/
53- $ [ -x /usr/bin/update-desktop-database ] && sudo update-desktop-database -q
49+ $ make install
5450```
5551
56522 . Copy the 'ldoce5.data' directory from the LDOCE5 DVD-ROM to an arbitrary location in your HDD or SSD.
You can’t perform that action at this time.
0 commit comments