ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/saidar/Makefile.am
Revision: 1.7
Committed: Fri Jun 18 23:45:40 2004 UTC (20 years, 4 months ago) by tdb
Branch: MAIN
CVS Tags: LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, HEAD
Changes since 1.6: +5 -5 lines
Log Message:
Fix permission setting when DESTDIR is used. There still seems to be an
issue with libtool on my FreeBSD box, but a google search suggests this is
fixed in later versions of libtool.

Thanks to Daniel <dragonheart@gentoo.org> for this one.

File Contents

# User Rev Content
1 tdb 1.1 # Makefile for libstatgrab/src/saidar
2 tdb 1.5 # http://www.i-scream.org/libstatgrab/
3 tdb 1.7 # $Id: Makefile.am,v 1.6 2004/02/15 21:18:37 tdb Exp $
4 tdb 1.1
5     if SAIDAR
6     bin_PROGRAMS = saidar
7     endif
8    
9     saidar_SOURCES = saidar.c
10    
11     INCLUDES = @SAIDARCPPFLAGS@ -I$(top_srcdir) -I$(top_builddir) \
12     -I$(top_srcdir)/src -I$(top_builddir)/src\
13     -I$(top_srcdir)/src/libstatgrab -I$(top_builddir)/src/libstatgrab
14    
15     LDADD = $(top_builddir)/src/libstatgrab/libstatgrab.la @SAIDARLIBS@ @LINKFLAGS@
16 tdb 1.2
17 tdb 1.3 install-exec-local:
18 tdb 1.4 if SAIDAR
19 tdb 1.2 if SETGIDBINS
20     # Some operating systems need the binary to be setgid kmem
21 tdb 1.7 chgrp kmem $(DESTDIR)@bindir@/saidar
22     chmod g+s $(DESTDIR)@bindir@/saidar
23 tdb 1.4 endif
24     if SETUIDBINS
25     # Some operating systems need the binary to be setuid root
26 tdb 1.7 chown root $(DESTDIR)@bindir@/saidar
27     chmod u+s $(DESTDIR)@bindir@/saidar
28 tdb 1.3 endif
29 tdb 1.2 endif