Search
lxdream.org :: lxdream/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename Makefile.am
changeset 681:1755a126b109
prev521:33d2d92784c7
next692:44b8ded54a9c
author nkeynes
date Sun Jun 01 00:47:45 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change First cut of the Cocoa GUI implementation
file annotate diff log raw
nkeynes@1
     1
## Process this file with automake to produce Makefile.in
nkeynes@1
     2
nkeynes@521
     3
if BUILD_SYSTEST
nkeynes@521
     4
  TEST_SUBDIR = test
nkeynes@521
     5
endif
nkeynes@521
     6
SUBDIRS = src po $(TEST_SUBDIR)
nkeynes@1
     7
nkeynes@459
     8
EXTRA_DIST = autogen.sh
nkeynes@1
     9
nkeynes@1
    10
install-data-local:
nkeynes@1
    11
	@$(NORMAL_INSTALL)
nkeynes@1
    12
	if test -d $(srcdir)/pixmaps; then \
nkeynes@1
    13
	  $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
nkeynes@1
    14
	  for pixmap in $(srcdir)/pixmaps/*; do \
nkeynes@1
    15
	    if test -f $$pixmap; then \
nkeynes@1
    16
	      $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/$(PACKAGE); \
nkeynes@1
    17
	    fi \
nkeynes@1
    18
	  done \
nkeynes@1
    19
	fi
nkeynes@517
    20
	$(mkinstalldirs) $(DESTDIR)$(sysconfdir)
nkeynes@517
    21
	$(INSTALL_DATA) lxdreamrc $(DESTDIR)$(sysconfdir)
nkeynes@1
    22
nkeynes@1
    23
dist-hook:
nkeynes@1
    24
	if test -d pixmaps; then \
nkeynes@1
    25
	  mkdir $(distdir)/pixmaps; \
nkeynes@1
    26
	  for pixmap in pixmaps/*; do \
nkeynes@1
    27
	    if test -f $$pixmap; then \
nkeynes@1
    28
	      cp -p $$pixmap $(distdir)/pixmaps; \
nkeynes@1
    29
	    fi \
nkeynes@1
    30
	  done \
nkeynes@1
    31
	fi
nkeynes@1
    32
nkeynes@681
    33
# Build a Mac OS X bundle. This is meaningless anywhere else
nkeynes@681
    34
bundle: all
nkeynes@681
    35
	mkdir -p lxdream.app/Contents/MacOS
nkeynes@681
    36
	mkdir -p lxdream.app/Contents/Resources
nkeynes@681
    37
	cp src/lxdream lxdream.app/Contents/MacOS
nkeynes@681
    38
	cp -R pixmaps/* lxdream.app/Contents/Resources
.