~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-tools/examples/hello-ycp/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Example for use of GNU gettext.
 
2
# Copyright (C) 2003 Free Software Foundation, Inc.
 
3
# This file is in the public domain.
 
4
#
 
5
# Makefile configuration - processed by automake.
 
6
 
 
7
# General automake options.
 
8
AUTOMAKE_OPTIONS = foreign
 
9
ACLOCAL_AMFLAGS = -I m4
 
10
 
 
11
# The list of subdirectories containing Makefiles.
 
12
SUBDIRS = m4 po
 
13
 
 
14
# The list of programs that are built.
 
15
bin_SCRIPTS = hello
 
16
all-local: hello
 
17
CLEANFILES = hello
 
18
 
 
19
# The YCP program is installed as data and invoked through a shell script.
 
20
pkgdata_DATA = hello.ycp
 
21
hello:
 
22
        { echo '#!/bin/sh'; \
 
23
          echo 'if test -n "$$DISPLAY"; then'; \
 
24
          echo "  exec /usr/lib/YaST2/bin/y2base '$(pkgdatadir)/hello.ycp' qt"; \
 
25
          echo 'else'; \
 
26
          echo "  exec /usr/lib/YaST2/bin/y2base '$(pkgdatadir)/hello.ycp' ncurses"; \
 
27
          echo 'fi'; \
 
28
        } > $@
 
29
 
 
30
# Additional files to be distributed.
 
31
EXTRA_DIST = autogen.sh autoclean.sh