forked from gmate/gmate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules
executable file
·38 lines (30 loc) · 950 Bytes
/
rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/make -f
build = $(CURDIR)/debian/gedit-gmate
clean:
rm -f build
build:
touch build
install:
dh_testdir
dh_testroot
dh_installdirs
dh_installdocs
cp lang-specs/*.lang $(build)/usr/share/gtksourceview-3.0/language-specs/
cp -R styles/* $(build)/usr/share/gtksourceview-3.0/styles/
cp mime/* $(build)/usr/share/mime/packages/
for plugin in plugins/gedit3/*; do \
cp -R $$plugin/* $(build)/usr/lib/gedit/plugins/; \
done
sudo cp plugins/gedit3/restoretabs/org.gnome.gedit.plugins.restoretabs.gschema.xml /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
cp -R snippets/* $(build)/usr/share/gedit/plugins/snippets/
cp gmate.py $(build)/usr/share/gedit/gmate/
binary-indep: install
binary-arch: install
dh_installdocs
dh_installchangelogs
dh_installdeb
dh_compress
dh_gencontrol
dh_builddeb
binary: binary-indep binary-arch