1 --- Makefile.orig 2010-05-29 03:06:04.456027657 +0200
2 +++ Makefile 2010-05-29 03:08:15.506244949 +0200
4 DIST_TAR_BZ2 = $(DIST_TAR).bz2
5 DIST_TAR_GZ = $(DIST_TAR).gz
7 -ICON_DIR = ~/.local/share/icons/hicolor/128x128/apps
8 +ICON_DIR = $(DESTDIR)/usr/share/icons/hicolor/128x128/apps
10 all: valencia.gedit-plugin libvalencia.so
13 $(VALAC) $(VFLAGS) -X --shared -X -fPIC --vapidir=. $(PACKAGES) $(SOURCES) -o $@
15 install: libvalencia.so valencia.gedit-plugin
16 - @ [ `whoami` != "root" ] || ( echo 'Run make install as yourself, not as root.' ; exit 1 )
17 - mkdir -p ~/.gnome2/gedit/plugins
18 - cp $(OUTPUTS) ~/.gnome2/gedit/plugins
19 + mkdir -p $(DESTDIR)/usr/lib/gedit-2/plugins
20 + cp $(OUTPUTS) $(DESTDIR)/usr/lib/gedit-2/plugins
22 cp -p valencia.png $(ICON_DIR)