updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / valencia-gedit3-git / makefile.patch
blob3a3b84e3e560c2299b9fafd26e2ad5e7570c39ef
1 *** Makefile.orig 2011-08-26 23:35:07.775679522 +0200
2 --- Makefile 2011-08-27 10:10:15.450519869 +0200
3 ***************
4 *** 30,36 ****
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
12 --- 30,36 ----
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
20 ***************
21 *** 43,56 ****
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
28 mkdir -p $(ICON_DIR)
29 cp -p valencia.png $(ICON_DIR)
31 uninstall:
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
36 --- 43,55 ----
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
42 mkdir -p $(ICON_DIR)
43 cp -p valencia.png $(ICON_DIR)
45 uninstall:
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