~ubuntu-branches/ubuntu/intrepid/cvsd/intrepid

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Arthur de Jong
  • Date: 2008-06-13 16:30:00 UTC
  • mfrom: (3.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080613163000-79t36wjqivc6zwst
Tags: 1.0.15
* fix init script to return proper exit code when stopping non-running cvsd
  or starting already-started cvsd
* take a shot at making debian/copyright machine parseable
* cvsd-buildroot now removes tls directories in the chroot jail if the
  environment outside it does not contain them (any more) (closes: #456111)
* upgrade to standards-version 3.8.0 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Makefile.am - use automake to generate Makefile.in
2
 
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Arthur de Jong
 
2
# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 Arthur de Jong
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
5
5
# it under the terms of the GNU General Public License as published by
39
39
           debian/compat \
40
40
           debian/po/POTFILES.in \
41
41
           debian/po/templates.pot \
42
 
           debian/po/cs.po \
43
 
           debian/po/da.po \
44
 
           debian/po/de.po \
45
 
           debian/po/es.po \
46
 
           debian/po/fr.po \
47
 
           debian/po/ja.po \
48
 
           debian/po/nl.po \
49
 
           debian/po/pt_BR.po \
50
 
           debian/po/pt.po \
51
 
           debian/po/vi.po \
 
42
           $(wildcard debian/po/*.po) \
 
43
           $(wildcard ChangeLog-????) \
52
44
           cvsd.spec \
53
45
           FAQ
54
46
 
55
 
#  if you write a self-test script named `chk', uncomment the
56
 
#  following and add `chk' to the EXTRA_DIST list
 
47
#  if you write a self-test script named 'chk', uncomment the
 
48
#  following and add 'chk' to the EXTRA_DIST list
57
49
#TESTS=chk
58
50
 
59
51
#  install the man pages
62
54
 
63
55
#  install configuration files
64
56
install-data-local: install-configfile install-initscript
 
57
uninstall-local: uninstall-configfile uninstall-initscript
65
58
 
66
59
install-configfile:
67
60
        if [ ! -d $(DESTDIR)$(sysconfdir)/cvsd ]; then \
73
66
          echo "$(DESTDIR)$(CONFIGFILE) already exists, install will not overwrite"; \
74
67
        fi
75
68
 
 
69
uninstall-configfile:
 
70
        -rm -f $(DESTDIR)$(CONFIGFILE)
 
71
        -rmdir $(DESTDIR)$(sysconfdir)/cvsd
 
72
 
76
73
install-initscript:
77
74
        if [ ! -d $(DESTDIR)$(sysconfdir)/init.d ]; then \
78
75
          $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/init.d; \
82
79
        fi
83
80
        $(INSTALL_SCRIPT) cvsd.init $(DESTDIR)$(sysconfdir)/init.d/cvsd
84
81
 
 
82
uninstall-initscript:
 
83
        -rm -f $(DESTDIR)$(sysconfdir)/init.d/cvsd
 
84
        -rmdir $(DESTDIR)$(sysconfdir)/init.d
 
85
 
85
86
#  targets for debian package
86
87
deb: distdir
87
88
        cd $(distdir) && \