File: Makefile.am

package info (click to toggle)
phasex 0.14.97-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,480 kB
  • sloc: ansic: 27,210; sh: 8,278; makefile: 386; perl: 201
file content (36 lines) | stat: -rw-r--r-- 882 bytes parent folder | download | duplicates (3)
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
## Process this file with automake to produce Makefile.in

themesdir = $(datadir)/themes

miscdir = $(pkgdatadir)
dist_misc_DATA = gtkenginerc

theme_files = Phasex-Dark Phasex-Light

EXTRA_DIST = $(theme_files)


install-data-local:
	for theme in $(theme_files); do \
		$(mkinstalldirs) $(DESTDIR)$(datadir)/themes/$$theme; \
		$(mkinstalldirs) $(DESTDIR)$(datadir)/themes/$$theme/gtk-2.0; \
		if test -f $$theme; then \
			$(INSTALL_DATA) $$theme $(DESTDIR)$(datadir)/themes/$$theme/gtk-2.0/gtkrc; \
		fi \
	done


uninstall-hook:
	for theme in $(theme_files); do \
		rm -f $(DESTDIR)$(datadir)/themes/$$theme/gtk-2.0/gtkrc; \
		rmdir $(DESTDIR)$(datadir)/themes/$$theme/gtk-2.0; \
		rmdir $(DESTDIR)$(datadir)/themes/$$theme; \
	done
	test -d $(DESTDIR)$(datadir)/themes && rmdir --ignore-fail-on-non-empty $(DESTDIR)$(datadir)/themes


clean-local:


distclean-local:
	rm -f *~