File: Makefile.am

package info (click to toggle)
radcli 1.2.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,768 kB
  • sloc: ansic: 6,089; sh: 767; makefile: 190; perl: 110
file content (52 lines) | stat: -rw-r--r-- 1,795 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# $Id: Makefile.am,v 1.5 2008/01/05 03:04:46 sobomax Exp $
#
# Copyright (C) 1997,1998 Lars Fenneberg
#
# See the file COPYRIGHT for the respective terms and conditions.
# If the file is missing contact me at lf@elemental.net
# and I'll send you a copy.
#

AUTOMAKE_OPTIONS = foreign

CLEANFILES = *~ radiusclient.conf radiusclient-tls.conf

sbindir = @sbindir@
pkgsysconfdir = @pkgsysconfdir@
pkgsysconf_DATA = radiusclient.conf radiusclient-tls.conf

DICTIONARIES = dictionary dictionary.ascend dictionary.compat dictionary.merit dictionary.microsoft dictionary.roaringpenguin dictionary.sip

sharedir = $(datadir)/@PACKAGE@
share_DATA = $(DICTIONARIES)

EXTRA_DIST = $(DICTIONARIES) servers servers-tls radiusclient.conf.in \
	radiusclient-tls.conf.in

radiusclient.conf: radiusclient.conf.in
	rm -f $@
	sed -e 's|@sbin''dir@|$(sbindir)|g' \
	    -e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \
	    -e 's|@sharedir@|$(sharedir)|g' \
	    <$(srcdir)/radiusclient.conf.in >radiusclient.conf
	chmod ogu-w $@

install-data-local: servers servers-tls
	$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir); \
	echo " $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers"; \
	echo " $(INSTALL) -m 600 $(srcdir)/servers-tls $(DESTDIR)$(pkgsysconfdir)/servers-tls"
	$(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers
	$(INSTALL) -m 600 $(srcdir)/servers-tls $(DESTDIR)$(pkgsysconfdir)/servers-tls

radiusclient-tls.conf: radiusclient-tls.conf.in
	rm -f $@
	sed -e 's|@sbin''dir@|$(sbindir)|g' \
	    -e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \
	    -e 's|@sharedir@|$(sharedir)|g' \
	    <$(srcdir)/radiusclient-tls.conf.in >radiusclient-tls.conf
	chmod ogu-w $@

uninstall-local:
	rm -f $(DESTDIR)$(pkgsysconfdir)/servers
	rm -f $(DESTDIR)$(pkgsysconfdir)/servers-tls