Search
lxdream.org :: lxdream/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename Makefile.am
changeset 747:c2d22fd75c95
prev745:fd9785b15068
next748:4fa68ea01d29
author nkeynes
date Fri Jul 18 13:21:54 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change dist/install lxdreamrc correctly
view annotate diff log raw
     1 ## Process this file with automake to produce Makefile.in
     3 POD2MAN=@POD2MAN@
     4 BUNDLE=lxdream.app
     6 if BUILD_SYSTEST
     7   TEST_SUBDIR = test
     8 endif
     9 SUBDIRS = src po $(TEST_SUBDIR)
    11 EXTRA_DIST = autogen.sh lxdream.pod bundlelibs.pl
    13 dist_sysconf_DATA = lxdreamrc
    15 man_MANS = lxdream.1
    17 lxdream.1: lxdream.pod
    18 	$(POD2MAN) $< $@
    20 install-data-local:
    21 	@$(NORMAL_INSTALL)
    22 	if test -d $(srcdir)/pixmaps; then \
    23 	  $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
    24 	  for pixmap in $(srcdir)/pixmaps/*; do \
    25 	    if test -f $$pixmap; then \
    26 	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
    27 	    fi \
    28 	  done \
    29 	fi
    30 	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
    32 dist-hook:
    33 	if test -d $(srcdir)/pixmaps; then \
    34 	  mkdir $(distdir)/pixmaps; \
    35 	  for pixmap in $(srcdir)/pixmaps/*; do \
    36 	    if test -f $$pixmap; then \
    37 	      cp -p $$pixmap $(distdir)/pixmaps; \
    38 	    fi \
    39 	  done \
    40 	fi
    42 if GUI_COCOA
    43 # Build a Mac OS X bundle. This is meaningless anywhere else
    44 all-local:
    45 	@echo --- Building Mac Bundle ---
    46 	rm -rf $(BUNDLE)
    47 	mkdir -p $(BUNDLE)/Contents/MacOS
    48 	mkdir -p $(BUNDLE)/Contents/Resources
    49 	cp src/lxdream $(BUNDLE)/Contents/MacOS
    50 	cp -R $(srcdir)/pixmaps/* $(BUNDLE)/Contents/Resources
    51 	$(srcdir)/bundlelibs.pl $(BUNDLE)/Contents/MacOS/lxdream $(BUNDLE)/Contents/Frameworks
    52 	for cat in $(CATALOGS); do \
    53 	   catname=`basename "$$cat"`; \
    54 	   catname=`echo $$catname|sed -e 's/$(CATOBJEXT)$$//'`; \
    55 	   mkdir -p "$(BUNDLE)/Contents/Resources/$$catname/LC_MESSAGES"; \
    56 	   cp "$(top_srcdir)/po/$$cat" "$(BUNDLE)/Contents/Resources/$$catname/LC_MESSAGES/lxdream$(CATOBJEXT)"; \
    57 	done
    58 	@echo --- Done ---
    59 endif
    61 bundle: all
.