~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201210021442

« back to all changes in this revision

Viewing changes to vmblockmounter/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-03-31 14:20:05 UTC
  • mfrom: (1.4.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110331142005-3n9red91p7ogkweo
Tags: 2011.03.28-387002-0ubuntu1
* Merge latest upstream git tag.  This has the unlocked_ioctl change
  needed to fix dkms build failures (LP: #727342)
* Changes in debian/rules:
  - work around a bug in toolbox/Makefile, where install-exec-hook is
    not happening.  This needs to get fixed the right way.
  - don't install 'vmware-user' which seems to no longer exist
  - move /etc/xdg into open-vm-toolbox (which should be done using .install)
* debian/open-vm-tools.init: add 'modprobe [-r] vmblock'. (LP: #332323)
* debian/rules and debian/open-vm-toolbox.lintian-overrides:
  - Make vmware-user-suid-wrapper suid-root (LP: #332323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
################################################################################
 
2
### Copyright 2011 VMware, Inc.  All rights reserved.
 
3
###
 
4
### This program is free software; you can redistribute it and/or modify
 
5
### it under the terms of version 2 of the GNU General Public License as
 
6
### published by the Free Software Foundation.
 
7
###
 
8
### This program is distributed in the hope that it will be useful,
 
9
### but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
### GNU General Public License for more details.
 
12
###
 
13
### You should have received a copy of the GNU General Public License
 
14
### along with this program; if not, write to the Free Software
 
15
### Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
16
################################################################################
 
17
 
 
18
sbin_PROGRAMS = mount.vmblock
 
19
 
 
20
mount_vmblock_LDADD =
 
21
mount_vmblock_LDADD += ../lib/stubs/libStubs.la
 
22
 
 
23
mount_vmblock_SOURCES =
 
24
mount_vmblock_SOURCES += vmblockmounter.c
 
25
 
 
26
if FREEBSD
 
27
install-exec-hook:
 
28
        mv $(DESTDIR)$(sbindir)/mount.vmblock \
 
29
                $(DESTDIR)$(sbindir)/mount_vmblock
 
30
        -$(MKDIR_P) $(DESTDIR)/sbin
 
31
        -$(LN_S) $(DESTDIR)$(sbindir)/mount_vmblock \
 
32
                $(DESTDIR)/sbin/mount_vmblock &> /dev/null
 
33
uninstall-hook:
 
34
        rm -f $(DESTDIR)$(sbindir)/mount_vmblock
 
35
else
 
36
install-exec-hook:
 
37
        -$(MKDIR_P) $(DESTDIR)/sbin
 
38
        -$(LN_S) $(DESTDIR)$(sbindir)/mount.vmblock \
 
39
                $(DESTDIR)/sbin/mount.vmblock &> /dev/null
 
40
uninstall-hook:
 
41
        rm -f $(DESTDIR)/sbin/mount.vmblock
 
42
endif !FREEBSD