summaryrefslogtreecommitdiffstats
path: root/gnome2-user-guide/sv/Makefile.am
blob: c75a0c98ea17c3ad3c279f6576ce256b3cfed7bd (plain)
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
figdir = figures
docname = user-guide
lang = sv
extraomf =  wgosbasic-sv.omf wgoscustaccess-sv.omf wgoscustdesk-sv.omf wgoscustlookandfeel-sv.omf wgosdeskback-sv.omf wgoseditmainmenu-sv.omf wgosmetacity-sv.omf wgosnautilus-sv.omf wgosoverview-sv.omf wgospanel-sv.omf wgosstartsession-sv.omf wglossary-sv.omf
omffile = user-guide-sv.omf
entities = legal.xml front.xml gosbasic.xml goscustaccess.xml goscustdesk.xml goscustlookandfeel.xml gosdeskback.xml goseditmainmenu.xml gosmetacity.xml gosnautilus.xml gosoverview.xml gospanel.xml gosstartsession.xml part1.xml part2.xml wgoscustdesk.xml wgoscustlookandfeel.xml wgosnautilus.xml wgospanel.xml glossary.xml wglossary.xml wgosbasic.xml wgosmetacity.xml wgosoverview.xml wgoseditmainmenu.xml wgoscustaccess.xml wgosdeskback.xml wgosstartsession.xml
include $(top_srcdir)/xmldocs.make
omf_dest_dir=$(datadir)/omf/$(docname)
#
# This is copy-paste from ../../omf.make and changed to actually 
# do something sensible in this instance
#
omf_timestamp: $(omffile)
	-for file in $(omffile); do \
		scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $$file.out; \
	done
	-for file in $(extraomf); do \
		scrollkeeper-preinstall $(docdir)/`echo $$file | cut -f1 -d -`.xml $(srcdir)/$$file $$file.out; \
	done
	touch omf_timestamp
#
# Oh, and this one aswell - they need to get installed. omf.make is so primitive 8-(
#
install-data-hook-omf:
	$(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
	for file in $(omffile) $(extraomf); do \
		$(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \
	done
	-scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir)

dist-hook: app-dist-hook

EXTRA_DIST += $(extraomf)