~ubuntu-branches/ubuntu/maverick/typespeed/maverick

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Dafydd Harries
  • Date: 2007-12-07 05:14:13 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071207051413-zn96fxeem6wknkiz
Tags: 0.6.4-1
* New upstream release. Closes: #375136.
  - High priority due to fix for DoS attack. Closes: #454527
    (CVE-2007-6220).
  - Fixes segfault when $HOME is unset. Closes: #355887.
  - Adds Italian and French word lists, Dutch word file merged.
* New upstream maintainer.
  - Update homepage URL, debian/copyright, debian/watch.
  - This version is not network-compatible with versions prior to 0.5.2.
  - Stricter network code.
  - Improved memory management.
* High score file format has changed: install score conversion program to
  /usr/lib/typespeed and run it when package is configured.
* postinst:
  - Remove obsolete score file backup/create/restore code.
  - Add code to upgrade score files to the new text-based format.
* rules:
  - Update to new autotools build.
  - Put stamp files in debian/.
  - Support DEB_BUILD_OPTS=noopt.
* Remove unnecessary debian/install.
* Update man page installation.
* Change menu file to Games/Action section as per new menu policy.
* Bump to debhelper compat version 5.
* Bump standards version to 3.7.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CC = gcc
 
2
AM_CFLAGS = -Wall -W -pedantic -std=c99
 
3
 
 
4
HIGHFILE = typespeed.score
 
5
WORDDIR = $(datadir)/@PACKAGE@/words
 
6
RULEDIR = $(datadir)/@PACKAGE@/rules
 
7
 
 
8
bin_PROGRAMS = typespeed
 
9
noinst_PROGRAMS = convert
 
10
 
 
11
highscore_DATA = typespeed.score
 
12
 
 
13
convert_SOURCES = convert.c
 
14
 
 
15
typespeed_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -DTVERSION=\"v$(VERSION)\" \
 
16
        -DCONFIGFILE=\"$(sysconfdir)/typespeedrc\" \
 
17
        -DHIGHFILE=\"$(highscoredir)/$(HIGHFILE)\" \
 
18
        -DWORDDIR=\"$(WORDDIR)\" -DRULEDIR=\"$(RULEDIR)\"
 
19
typespeed_LDADD = @LIBINTL@
 
20
typespeed_SOURCES = file.c gettext.h menu.c misc.c network.c pathnames.h \
 
21
            typespeed.c typespeed.h
 
22
 
 
23
typespeed.score:
 
24
        @touch typespeed.score
 
25
 
 
26
install-data-hook:
 
27
        -chgrp games $(DESTDIR)$(highscoredir)/$(HIGHFILE) && \
 
28
        chmod g+w $(DESTDIR)$(highscoredir)/$(HIGHFILE) && \
 
29
        chmod o-rwx $(DESTDIR)$(highscoredir)/$(HIGHFILE)
 
30
 
 
31
install-exec-hook:
 
32
        -chgrp games $(DESTDIR)$(bindir)/typespeed && \
 
33
        chmod g+s $(DESTDIR)$(bindir)/typespeed