File: Makefile.am

package info (click to toggle)
sugar-artwork 0.112-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,912 kB
  • sloc: sh: 4,126; python: 2,414; ansic: 1,969; makefile: 578
file content (63 lines) | stat: -rw-r--r-- 2,391 bytes parent folder | download | duplicates (2)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
SUBDIRS = assets 3.20

gtk-widgets-72.css: gtk-widgets.css.em
	empy -p $$ -D scaling=\'72\' -D gtk=\'$(GTK3_VERSION)\' \
		$(srcdir)/gtk-widgets.css.em > \
		$(top_builddir)/gtk3/theme/gtk-widgets-72.css

gtk-widgets-100.css: gtk-widgets.css.em
	empy -p $$ -D scaling=\'100\' -D gtk=\'$(GTK3_VERSION)\' \
		$(srcdir)/gtk-widgets.css.em > \
		$(top_builddir)/gtk3/theme/gtk-widgets-100.css

settings-72.ini: settings.ini.em
	empy -p $$ -D scaling=\'72\' $(srcdir)/settings.ini.em > \
		$(top_builddir)/gtk3/theme/settings-72.ini

settings-100.ini: settings.ini.em
	empy -p $$ -D scaling=\'100\' $(srcdir)/settings.ini.em > \
		$(top_builddir)/gtk3/theme/settings-100.ini

clean:
	$(RM) gtk-widgets-100.css
	$(RM) gtk-widgets-72.css
	$(RM) settings-100.ini
	$(RM) settings-72.ini

GEN_FILES = \
       gtk-widgets-72.css \
       gtk-widgets-100.css \
       settings-72.ini \
       settings-100.ini

install-data-local: $(GEN_FILES)
	$(mkinstalldirs) $(DESTDIR)$(datadir)/themes/sugar-72/gtk-3.0
	$(INSTALL_DATA) $(top_builddir)/gtk3/theme/gtk-widgets-72.css \
		$(DESTDIR)$(datadir)/themes/sugar-72/gtk-3.0/gtk-widgets.css
	$(INSTALL_DATA) $(top_builddir)/gtk3/theme/settings-72.ini \
		$(DESTDIR)$(datadir)/themes/sugar-72/gtk-3.0/settings.ini
	$(INSTALL_DATA) $(srcdir)/gtk.css \
		$(DESTDIR)$(datadir)/themes/sugar-72/gtk-3.0/gtk.css
	$(mkinstalldirs) $(DESTDIR)$(datadir)/themes/sugar-100/gtk-3.0
	$(INSTALL_DATA) $(top_builddir)/gtk3/theme/gtk-widgets-100.css \
		$(DESTDIR)$(datadir)/themes/sugar-100/gtk-3.0/gtk-widgets.css
	$(INSTALL_DATA) $(top_builddir)/gtk3/theme/settings-100.ini \
		$(DESTDIR)$(datadir)/themes/sugar-100/gtk-3.0/settings.ini
	$(INSTALL_DATA) $(srcdir)/gtk.css \
		$(DESTDIR)$(datadir)/themes/sugar-100/gtk-3.0/gtk.css
	$(INSTALL_DATA) $(srcdir)/gtk.css \
		$(DESTDIR)$(datadir)/themes/sugar-72/gtk-3.20/gtk.css
	$(INSTALL_DATA) $(srcdir)/gtk.css \
		$(DESTDIR)$(datadir)/themes/sugar-100/gtk-3.20/gtk.css
	cp -r $(DESTDIR)$(datadir)/themes/sugar-100/gtk-3.0/assets \
	    $(DESTDIR)$(datadir)/themes/sugar-100/gtk-3.20/assets
	cp -r $(DESTDIR)$(datadir)/themes/sugar-72/gtk-3.0/assets \
	    $(DESTDIR)$(datadir)/themes/sugar-72/gtk-3.20/assets


uninstall-local:
	rm -rf $(DESTDIR)$(datadir)/themes/sugar-72/gtk-3.0
	rm -rf $(DESTDIR)$(datadir)/themes/sugar-100/gtk-3.0

EXTRA_DIST = gtk-widgets.css.em settings.ini.em em.py gtk.css
CLEANFILES = $(GEN_FILES)