• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/examples/hello-ycp/
1# Example for use of GNU gettext.
2# This file is in the public domain.
3#
4# Makefile configuration - processed by automake.
5
6# General automake options.
7AUTOMAKE_OPTIONS = foreign
8ACLOCAL_AMFLAGS = -I m4
9
10# The list of subdirectories containing Makefiles.
11SUBDIRS = m4 po
12
13# The list of programs that are built.
14bin_SCRIPTS = hello
15all-local: hello
16CLEANFILES = hello
17
18# The YCP program is installed as data and invoked through a shell script.
19pkgdata_DATA = hello.ycp
20hello:
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	} > $@
28
29# Additional files to be distributed.
30EXTRA_DIST = autogen.sh autoclean.sh
31