File: Makefile.schemas

package info (click to toggle)
avant-window-navigator 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,564 kB
  • ctags: 4,805
  • sloc: ansic: 46,735; sh: 10,574; xml: 6,761; python: 2,896; makefile: 723
file content (26 lines) | stat: -rw-r--r-- 744 bytes parent folder | download
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
# requires Makefile.shave

# Usage
# -----
# 1. Set the schema_in_files variable to the schema-ini.in file(s) to install.
# 2. Add install-gconf-schemas to the install-data-local rule dependencies.

if GCONF_SCHEMAS_INSTALL
schemasdir       = @GCONF_SCHEMA_FILE_DIR@
schemas_DATA = $(schema_DATA:.schema-ini=.schemas)

%.schemas: %.schema-ini
	$(QUIET_GEN)$(LDA_BINDIR)/lda-schema-to-gconf $< $@

install-gconf-schemas: $(schemas_DATA)
	GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schemas_DATA)
else
install-gconf-schemas:
endif

schema_DATA = $(schema_in_files:.schema-ini.in=.schema-ini)
schemadir = $(pkgdatadir)/schemas

@INTLTOOL_SCHEMA_INI_RULE@

# vim: set ft=automake noet ts=8 sts=8 sw=8 :