blob: ece3dae682fce0f9a35891ff208728417f16f4a4 (
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
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
|
## Process this file with automake to produce Makefile.in
SUBDIRS = po src docs boards
icondir=$(datadir)/pixmaps
icon_DATA = gcompris.png gcompris-edit.png
Applicationsdir = $(datadir)/applications/
Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in
Applications_DATA = gcompris.desktop gcompris-edit.desktop
Menudir=$(prefix)/lib/menu
Menu_DATA=gcompris
@INTLTOOL_DESKTOP_RULE@
EXTRA_DIST = \
$(Applications_DATA) \
$(Applications_in_files) \
$(icon_DATA) \
$(Menu_DATA) \
gcompris.spec \
intltool-extract.in \
intltool-merge.in \
intltool-update.in
distcore = $(PACKAGE)-core-$(VERSION)
install-data-local:
@$(NORMAL_INSTALL)
if test -d @PACKAGE_DATA_DIR@; then \
$(mkinstalldirs) $(DESTDIR)/$(pkgdatadir)/@PACKAGE_DATA_DIR@; \
cd @PACKAGE_DATA_DIR@ ; tar cf - --exclude "Makefile.in" --exclude "*.in" --exclude "*~" --exclude "Makefile" --exclude "Makefile.am" --exclude CVS --exclude .xvpics --exclude "*.assetml" * | ( cd $(DESTDIR)/$(pkgdatadir)/@PACKAGE_DATA_DIR@ ; tar xf -) ; cd .. ; \
fi
dist-hook:
if test -d @PACKAGE_DATA_DIR@; then \
$(mkinstalldirs) $(distdir)/@PACKAGE_DATA_DIR@; \
cd @PACKAGE_DATA_DIR@ ; tar cf - --exclude "Makefile.in" --exclude "Makefile" --exclude "*~" --exclude ".*" --exclude CVS --exclude .xvpics * | ( cd ../$(distdir)/@PACKAGE_DATA_DIR@ ; tar xf -) ; cd .. ; \
fi
CLEANFILES = core-translation-report gcompris.desktop gcompris.spec
clean-local:
rm -f intltool-extract intltool-merge intltool-update
# Creates separates distribution files for the sounds by locale
dist-sounds:
./create_dist_sounds en @ALL_LINGUAS@
# Create a core dist file without localized sounds file
dist-core:
cp $(distdir).tar.gz $(distcore).tar.gz
gzip -df $(distcore).tar.gz
tar f $(distcore).tar --delete $(distdir)/boards/sounds
gzip --best $(distcore).tar
@echo Created $(distcore).tar.gz
all-local:
ACLOCAL_AMFLAGS =
|