Makefile will now try to install Tux Paint launcher icon for gnome in $GNOME_PREFIX=/usr
if gnome-config isn't available.
This commit is contained in:
parent
8bc94248e3
commit
3a8670dcec
2 changed files with 9 additions and 0 deletions
5
Makefile
5
Makefile
|
|
@ -193,6 +193,9 @@ uninstall:
|
|||
-if [ "x$(GNOME_PREFIX)" != "x" ]; then \
|
||||
rm $(GNOME_PREFIX)/share/gnome/apps/Graphics/tuxpaint.desktop; \
|
||||
rm $(GNOME_PREFIX)/share/pixmaps/tuxpaint.png; \
|
||||
else \
|
||||
rm /usr/share/gnome/apps/Graphics/tuxpaint.desktop; \
|
||||
rm /usr/share/pixmaps/tuxpaint.png; \
|
||||
fi
|
||||
-if [ "x$(KDE_PREFIX)" != "x" ]; then \
|
||||
rm $(KDE_PREFIX)/Graphics/tuxpaint.desktop; \
|
||||
|
|
@ -256,6 +259,8 @@ install-gnome:
|
|||
install -d $(GNOME_PREFIX)/share/gnome/apps/Graphics; \
|
||||
cp src/tuxpaint.desktop $(GNOME_PREFIX)/share/gnome/apps/Graphics/; \
|
||||
chmod 644 $(GNOME_PREFIX)/share/gnome/apps/Graphics/tuxpaint.desktop; \
|
||||
else \
|
||||
make install-gnome GNOME_PREFIX=/usr; \
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue