Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / doc / gettext / examples / hello-ycp / Makefile.am
blobceeda90179c1456a5eb8d3814bc49d8e7f9d1a10
1 # Example for use of GNU gettext.
2 # This file is in the public domain.
4 # Makefile configuration - processed by automake.
6 # General automake options.
7 AUTOMAKE_OPTIONS = foreign
8 ACLOCAL_AMFLAGS = -I m4
10 # The list of subdirectories containing Makefiles.
11 SUBDIRS = m4 po
13 # The list of programs that are built.
14 bin_SCRIPTS = hello
15 all-local: hello
16 CLEANFILES = hello
18 # The YCP program is installed as data and invoked through a shell script.
19 pkgdata_DATA = hello.ycp
20 hello:
21         { echo '#!/bin/sh'; \
22           echo 'if test -n "$$DISPLAY"; then'; \
23           echo "  exec /usr/lib/YaST2/bin/y2base '$(pkgdatadir)/hello.ycp' qt"; \
24           echo 'else'; \
25           echo "  exec /usr/lib/YaST2/bin/y2base '$(pkgdatadir)/hello.ycp' ncurses"; \
26           echo 'fi'; \
27         } > $@
29 # Additional files to be distributed.
30 EXTRA_DIST = autogen.sh autoclean.sh