1# 2# $Id: Makefile.am,v 1.5 2008/01/05 03:04:46 sobomax Exp $ 3# 4# Copyright (C) 1997,1998 Lars Fenneberg 5# 6# See the file COPYRIGHT for the respective terms and conditions. 7# If the file is missing contact me at lf@elemental.net 8# and I'll send you a copy. 9# 10 11AUTOMAKE_OPTIONS = foreign 12 13CLEANFILES = *~ radiusclient.conf 14 15sbindir = @sbindir@ 16pkgsysconfdir = @pkgsysconfdir@ 17pkgsysconf_DATA = issue port-id-map radiusclient.conf \ 18 dictionary dictionary.ascend dictionary.compat dictionary.merit \ 19 dictionary.sip 20 21EXTRA_DIST = issue port-id-map dictionary dictionary.ascend \ 22 dictionary.compat dictionary.merit servers radiusclient.conf.in \ 23 dictionary.sip 24 25radiusclient.conf: radiusclient.conf.in 26 sed -e 's|@sbin''dir@|$(sbindir)|g' \ 27 -e 's|@pkgsysconf''dir@|$(pkgsysconfdir)|g' \ 28 <$(srcdir)/radiusclient.conf.in >radiusclient.conf 29 30install-data-local: servers 31 $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir); \ 32 echo " $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers"; \ 33 $(INSTALL) -m 600 $(srcdir)/servers $(DESTDIR)$(pkgsysconfdir)/servers 34 35uninstall-local: 36 rm -f $(DESTDIR)$(pkgsysconfdir)/servers 37