1 *** Makefile.orig 2011-08-26 23:35:07.775679522 +0200
2 --- Makefile 2011-08-27 10:10:15.450519869 +0200
5 DIST_TAR_BZ2 = $(DIST_TAR).bz2
6 DIST_TAR_GZ = $(DIST_TAR).gz
8 ! ICON_DIR = ~/.local/share/icons/hicolor/128x128/apps
10 all: valencia.plugin libvalencia.so
13 DIST_TAR_BZ2 = $(DIST_TAR).bz2
14 DIST_TAR_GZ = $(DIST_TAR).gz
16 ! ICON_DIR = $(DESTDIR)/usr/share/icons/hicolor/128x128/apps
18 all: valencia.plugin libvalencia.so
22 $(VALAC) $(VFLAGS) -X --shared -X -fPIC --vapidir=vapi $(PACKAGES) $(SOURCES) -o $@
24 install: libvalencia.so valencia.plugin
25 ! @ [ `whoami` != "root" ] || ( echo 'Run make install as yourself, not as root.' ; exit 1 )
26 ! mkdir -p ~/.local/share/gedit/plugins
27 ! cp $(OUTPUTS) ~/.local/share/gedit/plugins
29 cp -p valencia.png $(ICON_DIR)
32 ! rm -f $(foreach o, $(OUTPUTS), ~/.local/share/gedit/plugins/$o)
33 rm -f $(ICON_DIR)/valencia.png
35 parser: expression.vala parser.vala program.vala scanner.vala util.vala
37 $(VALAC) $(VFLAGS) -X --shared -X -fPIC --vapidir=vapi $(PACKAGES) $(SOURCES) -o $@
39 install: libvalencia.so valencia.plugin
40 ! mkdir -p $(DESTDIR)/usr/lib/gedit/plugins
41 ! cp $(OUTPUTS) $(DESTDIR)/usr/lib/gedit/plugins
43 cp -p valencia.png $(ICON_DIR)
46 ! rm -f $(foreach o, $(OUTPUTS), /usr/lib/gedit/plugins/$o)
47 rm -f $(ICON_DIR)/valencia.png
49 parser: expression.vala parser.vala program.vala scanner.vala util.vala