diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-07-08 06:44:55 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-07-08 06:44:55 +0200 |
commit | 5f5d1604492ae15967f9d86f41fbeeedcae0ae2b (patch) | |
tree | bcecfd65dc578eabfaee10b1e039c467ac89d8b5 /netrom/Makefile.am | |
parent | 1b4023134b5ff6342301c8135b11df46546d2828 (diff) |
Import ax25-tools 0.0.3 from tarballax25-tools-0.0.3
Diffstat (limited to 'netrom/Makefile.am')
-rw-r--r-- | netrom/Makefile.am | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/netrom/Makefile.am b/netrom/Makefile.am index c5845b8..0678996 100644 --- a/netrom/Makefile.am +++ b/netrom/Makefile.am @@ -1,12 +1,11 @@ -etcfiles = nrbroadcast nrports -etcdir = $(sysconfdir)/ax25 +etcfiles = nrbroadcast installconf: - $(mkinstalldirs) $(DESTDIR)$(etcdir) + $(mkinstalldirs) $(DESTDIR)$(AX25_SYSCONFDIR) @list='$(etcfiles)'; for p in $$list; do \ - echo " $(INSTALL_DATA) $$p $(DESTDIR)$(etcdir)/$$p"; \ - $(INSTALL_DATA) $$p $(DESTDIR)$(etcdir)/$$p; \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(AX25_SYSCONFDIR)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(AX25_SYSCONFDIR)/$$p; \ done @@ -14,7 +13,7 @@ sbin_PROGRAMS = netromd nodesave nrattach nrparms nrsdrv LDADD = $(AX25_LIB) -man_MANS = netrom.4 nrports.5 nrbroadcast.5 netromd.8 nodesave.8 \ +man_MANS = netrom.4 nrbroadcast.5 netromd.8 nodesave.8 \ nrattach.8 nrparms.8 nrsdrv.8 EXTRA_DIST = $(man_MANS) $(etcfiles) @@ -26,3 +25,9 @@ netromd_SOURCES = \ netromt.c +INCLUDES = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \ + -DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\" + +AX25_SYSCONFDIR=${sysconfdir}/ax25/ +AX25_LOCALSTATEDIR=${localstatedir}/ax25/ + |