2002-03-11 12:04:52 -07:00
|
|
|
dosstuff = celestia.mak $(wildcard *.bat)
|
2002-01-03 15:09:15 -07:00
|
|
|
noinst_DATA = devguide.txt $(dosstuff)
|
|
|
|
pkgdata_DATA = celestia.cfg $(wildcard *.cel) controls.txt COPYING
|
2002-11-16 08:09:23 -07:00
|
|
|
pkgdatadir = @datadir@/@PACKAGE@
|
2001-11-16 15:03:30 -07:00
|
|
|
|
2002-11-16 08:09:23 -07:00
|
|
|
EXTRA_DIST = $(pkgdata_DATA) $(noinst_DATA) admin
|
2001-11-16 15:03:30 -07:00
|
|
|
|
2004-01-23 00:03:19 -07:00
|
|
|
SUBDIRS = src data extras textures models shaders fonts manual
|
2001-12-18 16:00:26 -07:00
|
|
|
|
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
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
if [ -d $(kde_datadir)/@PACKAGE@ -a ! -h $(kde_datadir)/@PACKAGE@ ] ; then \
|
|
|
|
mv -f -b $(kde_datadir)/@PACKAGE@/* $(datadir)/@PACKAGE@/ ; \
|
|
|
|
rmdir $(kde_datadir)/@PACKAGE@ ; \
|
|
|
|
fi
|
2004-09-23 15:53:05 -06:00
|
|
|
if [ ! -h $(kde_datadir)/@PACKAGE@ ] ; then \
|
2004-09-22 15:11:58 -06:00
|
|
|
ln -s $(datadir)/@PACKAGE@ $(kde_datadir)/@PACKAGE@ ; \
|
|
|
|
fi
|