Search
lxdream.org :: lxdream/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename Makefile.am
changeset 713:e5256202cc9e
prev700:4650d0c7f6f9
next715:fdbad771b4b1
author nkeynes
date Sun Jun 29 03:51:33 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Add all non-core libraries to the OS X bundle
file annotate diff log raw
nkeynes@1
     1
## Process this file with automake to produce Makefile.in
nkeynes@1
     2
nkeynes@700
     3
POD2MAN=@POD2MAN@
nkeynes@700
     4
nkeynes@521
     5
if BUILD_SYSTEST
nkeynes@521
     6
  TEST_SUBDIR = test
nkeynes@521
     7
endif
nkeynes@521
     8
SUBDIRS = src po $(TEST_SUBDIR)
nkeynes@1
     9
nkeynes@459
    10
EXTRA_DIST = autogen.sh
nkeynes@1
    11
nkeynes@700
    12
man_MANS = lxdream.1
nkeynes@700
    13
nkeynes@700
    14
lxdream.1: lxdream.pod
nkeynes@700
    15
	$(POD2MAN) $< $@
nkeynes@700
    16
nkeynes@1
    17
install-data-local:
nkeynes@1
    18
	@$(NORMAL_INSTALL)
nkeynes@1
    19
	if test -d $(srcdir)/pixmaps; then \
nkeynes@1
    20
	  $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
nkeynes@1
    21
	  for pixmap in $(srcdir)/pixmaps/*; do \
nkeynes@1
    22
	    if test -f $$pixmap; then \
nkeynes@1
    23
	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
nkeynes@1
    24
	    fi \
nkeynes@1
    25
	  done \
nkeynes@1
    26
	fi
nkeynes@517
    27
	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
nkeynes@517
    28
	$(INSTALL_DATA) lxdreamrc $(DESTDIR)$(sysconfdir)
nkeynes@1
    29
nkeynes@1
    30
dist-hook:
nkeynes@1
    31
	if test -d pixmaps; then \
nkeynes@1
    32
	  mkdir $(distdir)/pixmaps; \
nkeynes@1
    33
	  for pixmap in pixmaps/*; do \
nkeynes@1
    34
	    if test -f $$pixmap; then \
nkeynes@1
    35
	      cp -p $$pixmap $(distdir)/pixmaps; \
nkeynes@1
    36
	    fi \
nkeynes@1
    37
	  done \
nkeynes@1
    38
	fi
nkeynes@1
    39
nkeynes@692
    40
if GUI_COCOA
nkeynes@681
    41
# Build a Mac OS X bundle. This is meaningless anywhere else
nkeynes@692
    42
all-local:
nkeynes@692
    43
	@echo --- Building Mac Bundle ---
nkeynes@681
    44
	mkdir -p lxdream.app/Contents/MacOS
nkeynes@681
    45
	mkdir -p lxdream.app/Contents/Resources
nkeynes@681
    46
	cp src/lxdream lxdream.app/Contents/MacOS
nkeynes@681
    47
	cp -R pixmaps/* lxdream.app/Contents/Resources
nkeynes@713
    48
	$(srcdir)/bundlelibs.pl lxdream.app/Contents/MacOS/lxdream lxdream.app/Contents/Frameworks
nkeynes@692
    49
	@echo --- Done ---
nkeynes@692
    50
endif
nkeynes@692
    51
nkeynes@692
    52
bundle: all
.