~ubuntu-branches/ubuntu/karmic/x11-xserver-utils/karmic

« back to all changes in this revision

Viewing changes to rgb/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Brice Goglin, Julien Cristau, Brice Goglin
  • Date: 2007-08-17 09:58:34 UTC
  • Revision ID: james.westby@ubuntu.com-20070817095834-ywge2nyzj1s3rqnd
Tags: 7.3+1
[ Julien Cristau ]
* iceauth 1.0.2.
  + removes blank line in the manpage (closes: #25285).
* xmodmap 1.0.3.
  + manpage updated to state that -pm is the default (closes: #236198)
* xgamma 1.0.2.
  + the manpage now explains how to print the gamma value more clearly
    (closes: #296021).
* xsetroot 1.0.2.
* xrdb 1.0.4.
  + fixes manpage typo (closes: #276286).
* Add upstream URL to debian/copyright, and update it from xgamma's COPYING
  file.

[ Brice Goglin ]
* Add menu entries for xrefresh and xvidtune.
* sessreg 1.0.3.
* xset 1.0.3.
* Add myself to Uploaders, and remove Branden with his permission.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 
2
 
3
# Permission is hereby granted, free of charge, to any person obtaining a
 
4
# copy of this software and associated documentation files (the
 
5
# "Software"), to deal in the Software without restriction, including
 
6
# without limitation the rights to use, copy, modify, merge, publish,
 
7
# distribute, and/or sell copies of the Software, and to permit persons
 
8
# to whom the Software is furnished to do so, provided that the above
 
9
# copyright notice(s) and this permission notice appear in all copies of
 
10
# the Software and that both the above copyright notice(s) and this
 
11
# permission notice appear in supporting documentation.
 
12
 
13
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
14
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
15
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
 
16
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
 
17
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
 
18
# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
 
19
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
 
20
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 
21
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
22
 
23
# Except as contained in this notice, the name of a copyright holder
 
24
# shall not be used in advertising or otherwise to promote the sale, use
 
25
# or other dealings in this Software without prior written authorization
 
26
# of the copyright holder.
 
27
 
28
 
 
29
 
 
30
if RGB_TXT
 
31
bin_PROGRAMS = showrgb
 
32
else
 
33
bin_PROGRAMS = rgb showrgb
 
34
 
 
35
rgb_CFLAGS = $(RGB_CFLAGS) $(RGB_DB_DEFINES)
 
36
rgb_SOURCES = rgb.c 
 
37
endif
 
38
 
 
39
rgbdir = $(db_dir)
 
40
rgb_DATA = $(db_file).txt $(RGB_DB_FILES)
 
41
RGB_DB_DEFINES = -DRGB_DB=\"$(db_dir)/$(db_file)\"
 
42
 
 
43
showrgb_CFLAGS = $(RGB_CFLAGS) $(RGB_DB_DEFINES)
 
44
showrgb_SOURCES =  showrgb.c
 
45
 
 
46
appman_PRE = \
 
47
        showrgb.man
 
48
 
 
49
EXTRA_DIST= \
 
50
        rgb.txt \
 
51
        others/README \
 
52
        others/old-rgb.txt \
 
53
        others/raveling.txt \
 
54
        others/thomas.txt
 
55
 
 
56
appmandir = $(APP_MAN_DIR)
 
57
 
 
58
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
 
59
 
 
60
EXTRA_DIST += $(appman_PRE)
 
61
CLEANFILES = $(appman_DATA)
 
62
 
 
63
SED = sed
 
64
 
 
65
# Strings to replace in man pages
 
66
XORGRELSTRING = @PACKAGE_STRING@
 
67
  XORGMANNAME = X Version 11
 
68
 
 
69
MAN_SUBSTS = \
 
70
        -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
 
71
        -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
 
72
        -e 's|__xservername__|Xorg|g' \
 
73
        -e 's|__xconfigfile__|xorg.conf|g' \
 
74
        -e 's|__projectroot__|$(prefix)|g' \
 
75
        -e 's|__apploaddir__|$(appdefaultdir)|' \
 
76
        -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
 
77
        -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \
 
78
        -e 's|__adminmansuffix__|$(ADMIN_MAN_SUFFIX)|g' \
 
79
        -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g' \
 
80
        -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g'
 
81
 
 
82
SUFFIXES = .$(APP_MAN_SUFFIX) .man
 
83
 
 
84
.man.$(APP_MAN_SUFFIX):
 
85
        sed $(MAN_SUBSTS) < $< > $@