filename | Makefile.am |
changeset | 700:4650d0c7f6f9 |
prev | 692:44b8ded54a9c |
next | 713:e5256202cc9e |
author | nkeynes |
date | Sun Jun 22 06:49:00 2008 +0000 (13 years ago) |
permissions | -rw-r--r-- |
last change | Big cleanup of the command-line options Add an actual manpage (*gasp*) |
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 mkdir -p lxdream.app/Contents/MacOS
45 mkdir -p lxdream.app/Contents/Resources
46 cp src/lxdream lxdream.app/Contents/MacOS
47 cp -R pixmaps/* lxdream.app/Contents/Resources
48 @echo --- Done ---
49 endif
51 bundle: all
.