File: Makefile.am

package info (click to toggle)
bug-buddy 2.8.0-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,912 kB
  • ctags: 471
  • sloc: ansic: 4,409; sh: 2,780; xml: 567; makefile: 163
file content (46 lines) | stat: -rw-r--r-- 1,273 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SUBDIRS = po pixmaps src bugzilla docs

schemasdir       = $(GCONF_SCHEMA_FILE_DIR)
schemas_in_files = bug-buddy.schemas.in
schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)

EXTRA_DIST = \
	bug-buddy.spec.in				\
	bug-buddy.spec					\
	intltool-extract.in				\
	intltool-merge.in				\
	intltool-update.in				\
	COPYING.ximian-logos				\
	omf.make					\
	xmldocs.make					\
	$(schemas_in_files)				\
	$(schemas_DATA)

if GCONF_SCHEMAS_INSTALL
install-data-local:
	if test -z "$(DESTDIR)" ; then \
		for p in $(schemas_DATA) ; do \
			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p ; \
		done \
	fi
else
install-data-local:
endif




# this should probably be run at dist time or something
update-bugzilla:
	cd $(top_srcdir)/bugzilla/ximian/ \
	&& for file in products config mostfreq; do \
		wget "http://bugzilla.ximian.com/bugzilla-$$file.xml" -O $$file.tmp \
		&& (cmp -s $$file.tmp $$file || cp -v $$file.tmp $$file) \
		&& rm -f $$file.tmp; \
	done
	cd $(top_srcdir)/bugzilla/gnome/ \
	&& for file in products config mostfreq; do \
		wget "http://bugzilla.gnome.org/bugzilla.gnome.org/bugzilla-$$file.xml" -O $$file.tmp \
		&& (cmp -s $$file.tmp $$file || cp -v $$file.tmp $$file) \
		&& rm -f $$file.tmp; \
	done