SUBDIRS = intl util lged lgc-pg src tools po
EXTRA_DIST = AUTHORS COPYING ChangeLog README.lgeneral \
README.lgc-pg README.redit TODO \
lgeneral.png lgeneral.desktop \
lgeneral-redit
desktopdir = $(datadir)/applications
desktop_DATA = lgeneral.desktop
icondir = $(datadir)/icons/hicolor/48x48/apps
icon_DATA = lgeneral.png
AUTOMAKE_OPTIONS = foreign
package-translations:
test x != "x$(LINGUAS)" || { echo "LINGUAS not set" ; exit 1 ; }
cwd=`pwd` ; cd $(top_srcdir) ; \
for l in $(LINGUAS) ; do \
tar -cjf $$cwd/$(PACKAGE).$${l}.`date '+%Y-%m-%d'`.tar.bz2 po/*/$$l.po ; \
done
install-data-hook:
@echo
@echo "================================================================"
@echo
@echo "Congratulations, LGeneral has been successfully installed to"
@echo
@echo " "$(inst_dir)
@echo
@echo "Now mount your Panzer General CD (e.g., to /mnt/cdrom) and run"
@echo
@echo " lgc-pg -s /mnt/cdrom/DAT"
@echo
@echo "Alternatively you can download the PG data package from "
@echo "http://lgames.sf.net, extract it (e.g., to /tmp/pg-data) and run"
@echo
@echo " lgc-pg -s /tmp/pg-data"
@echo
@echo "For more information see README.lgc-pg."
@echo
@echo "================================================================"
@echo