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