-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
81 lines (63 loc) · 2.16 KB
/
Makefile.am
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
ACLOCAL_AMFLAGS = -I macros
pkgdatadir = @datadir@/@PACKAGE@
dosstuff = \
celestia.iss \
celestia.sln \
celestia.vcproj
noinst_DATA = \
coding-standards.html \
devguide.txt \
$(dosstuff)
pkgdata_DATA = \
celestia.cfg \
controls.txt \
COPYING \
$(wildcard *.cel)
EXTRA_DIST = \
$(pkgdata_DATA) \
$(noinst_DATA) \
splash.png \
po/extract_resource_strings.pl \
po/translate_resources.pl \
TRANSLATORS
splashdir = $(pkgdatadir)/splash
splash_DATA = splash.png
SUBDIRS = src data extras extras-standard textures models shaders fonts locale scripts
# FIXME: Translation makefiles are broken: MKDIR_P is an empty string.
# Disabling translations for now.
#SUBDIRS += po po2
# Non-automake directories
NONAUTO = admin macosx windows
# From KDE app template
# We already have a configure.in file, we don't build it from configure.in.in
#$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
# cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
# This is just silly
#$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
# @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4
package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
dist-hook:
( \
cd $(srcdir) && \
( \
for dir in $(NONAUTO) ; do \
find $$dir -depth -print | egrep -v '(~$$)|(/CVS)|(/\.svn)|(/\.#)|(/\.deps)' \
| cpio -pdum $(distdir) 2>/dev/null ; \
done \
) \
)
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
install-data-hook:
if [ "$(kde_datadir)" -a -d $(DESTDIR)/$(kde_datadir)/@PACKAGE@ -a ! -h $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ] ; then \
mv -f -b $(DESTDIR)/$(kde_datadir)/@PACKAGE@/* $(DESTDIR)/$(datadir)/@PACKAGE@/ ; \
rmdir $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ; \
fi
if [ "$(kde_datadir)" -a ! -h $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ] ; then \
ln -s $(datadir)/@PACKAGE@ $(DESTDIR)/$(kde_datadir)/@PACKAGE@ ; \
fi