2002-11-16 08:09:23 -07:00
|
|
|
pkgdatadir = @datadir@/@PACKAGE@
|
2001-11-16 15:03:30 -07:00
|
|
|
|
2006-01-15 20:05:26 -07:00
|
|
|
dosstuff = \
|
|
|
|
celestia.mak \
|
|
|
|
celestia.iss \
|
|
|
|
$(wildcard *.bat)
|
2001-11-16 15:03:30 -07:00
|
|
|
|
2006-01-15 20:05:26 -07:00
|
|
|
noinst_DATA = \
|
|
|
|
CelestiaKeyAssignments.txt \
|
|
|
|
coding-standards.html \
|
|
|
|
devguide.txt \
|
|
|
|
KbdMouseJoyControls.txt \
|
|
|
|
$(dosstuff)
|
|
|
|
|
|
|
|
pkgdata_DATA = \
|
|
|
|
celestia.cfg \
|
|
|
|
controls.txt \
|
|
|
|
COPYING \
|
|
|
|
$(wildcard *.cel)
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(pkgdata_DATA) \
|
|
|
|
$(noinst_DATA) \
|
|
|
|
admin \
|
|
|
|
splash.png \
|
|
|
|
TRANSLATORS
|
|
|
|
|
|
|
|
splashdir = $(pkgdatadir)/splash
|
|
|
|
splash_DATA = splash.png
|
2001-12-18 16:00:26 -07:00
|
|
|
|
2007-03-27 07:47:01 -06:00
|
|
|
SUBDIRS = src data extras textures models shaders fonts po po2 locale
|
2003-04-14 14:15:33 -06:00
|
|
|
|
2006-01-19 13:10:57 -07:00
|
|
|
# Non-automake directories
|
|
|
|
NONAUTO = macosx
|
|
|
|
|
2003-04-14 14:15:33 -06:00
|
|
|
# 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
|
|
|
|
|
|
|
|
$(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 $(top_distdir) && perl admin/am_edit -padmin
|
|
|
|
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
2004-09-22 15:11:58 -06:00
|
|
|
|
2006-01-19 13:10:57 -07:00
|
|
|
( \
|
|
|
|
cd $(srcdir) && \
|
|
|
|
( \
|
|
|
|
for dir in $(NONAUTO) ; do \
|
|
|
|
find $$dir -depth -print | egrep -v '(~$$)|(/CVS)|(/\.#)|(/\.deps)' \
|
|
|
|
| cpio -pdum $(distdir) 2>/dev/null ; \
|
|
|
|
done \
|
|
|
|
) \
|
|
|
|
)
|
|
|
|
|
2004-09-22 15:11:58 -06:00
|
|
|
install-data-hook:
|
2005-11-17 10:28:28 -07:00
|
|
|
if [ "$(kde_datadir)" -a -d $(kde_datadir)/@PACKAGE@ -a ! -h $(kde_datadir)/@PACKAGE@ ] ; then \
|
2004-09-22 15:11:58 -06:00
|
|
|
mv -f -b $(kde_datadir)/@PACKAGE@/* $(datadir)/@PACKAGE@/ ; \
|
|
|
|
rmdir $(kde_datadir)/@PACKAGE@ ; \
|
|
|
|
fi
|
2005-11-17 10:28:28 -07:00
|
|
|
if [ "$(kde_datadir)" -a ! -h $(kde_datadir)/@PACKAGE@ ] ; then \
|
2004-09-22 15:11:58 -06:00
|
|
|
ln -s $(datadir)/@PACKAGE@ $(kde_datadir)/@PACKAGE@ ; \
|
|
|
|
fi
|
2005-07-19 15:22:42 -06:00
|
|
|
|