~ubuntu-branches/ubuntu/vivid/munge/vivid

« back to all changes in this revision

Viewing changes to src/etc/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2011-02-28 20:41:12 UTC
  • mfrom: (6.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110228204112-2lc8ss9geeusv5uo
Tags: 0.5.10-1
* New upstream release 
* Updated copyright, homepage, watch thanks to Chris Dunlap
* Standards version upgraded to 3.9.1.0 (no changes) 
* Switch to dpkg-source 3.0 (quilt) format
* Added explicit dependency by the same version of libmunge for munge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
##*****************************************************************************
2
 
## $Id: Makefile.am 785 2010-03-23 17:49:51Z dun $
 
2
## $Id: Makefile.am 890 2011-01-20 01:54:21Z chris.m.dunlap $
3
3
##*****************************************************************************
4
4
## Process this file with automake to produce Makefile.in.
5
5
##*****************************************************************************
6
6
## Written by Chris Dunlap <cdunlap@llnl.gov>.
7
 
## Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
 
7
## Copyright (C) 2007-2011 Lawrence Livermore National Security, LLC.
8
8
## Copyright (C) 2002-2007 The Regents of the University of California.
9
9
## UCRL-CODE-155910.
10
10
##
11
11
## This file is part of the MUNGE Uid 'N' Gid Emporium (MUNGE).
12
 
## For details, see <http://home.gna.org/munge/>.
 
12
## For details, see <http://munge.googlecode.com/>.
13
13
##
14
14
## MUNGE is free software: you can redistribute it and/or modify it under
15
15
## the terms of the GNU General Public License as published by the Free
38
38
        expr "`id`" : 'uid=0(' >/dev/null && OWNER="-o daemon" || OWNER=""; \
39
39
        $(INSTALL) -m 0755 -d "$(DESTDIR)$(sysconfdir)/init.d"; \
40
40
        new=""; test ! -f "$(DESTDIR)$(sysconfdir)/init.d/munge" \
41
 
          || cmp "$(srcdir)/munge.init" \
 
41
          || cmp "$(builddir)/munge.init" \
42
42
            "$(DESTDIR)$(sysconfdir)/init.d/munge" \
43
43
          1>/dev/null 2>&1 || new=".new"; \
44
 
        $(INSTALL) -m 0755 "$(srcdir)/munge.init" \
 
44
        $(INSTALL) -m 0755 "$(builddir)/munge.init" \
45
45
          "$(DESTDIR)$(sysconfdir)/init.d/munge$${new}"; \
46
46
        test -d "/etc/sysconfig" && d="sysconfig" || d="default"; \
47
47
        new=""; test ! -f "$(DESTDIR)$(sysconfdir)/$${d}/munge" \