forked from Mirror/frr
build: non-recursive auxiliary directories
Flatten {m4,pkgsrc,python,redhat,snapcraft}/Makefile.am into the main one. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
a805d3bbb1
commit
53d93be147
59
Makefile.am
59
Makefile.am
|
@ -32,20 +32,63 @@ include fpm/subdir.am
|
|||
SUBDIRS = . @LIBRFP@ @RFPTEST@ \
|
||||
@BGPD@ @RIPD@ @RIPNGD@ @OSPFD@ @OSPF6D@ @LDPD@ \
|
||||
@ISISD@ @PIMD@ @NHRPD@ @EIGRPD@ @BABELD@ \
|
||||
@WATCHFRR@ @VTYSH@ @OSPFCLIENT@ @DOC@ m4 @pkgsrcdir@ \
|
||||
redhat @SOLARIS@ tests tools snapcraft
|
||||
@WATCHFRR@ @VTYSH@ @OSPFCLIENT@ @DOC@ \
|
||||
@SOLARIS@ tests tools
|
||||
|
||||
DIST_SUBDIRS = . bgpd ripd ripngd ospfd ospf6d ldpd \
|
||||
isisd watchfrr vtysh ospfclient doc m4 pkgsrc redhat tests \
|
||||
isisd watchfrr vtysh ospfclient doc tests \
|
||||
solaris pimd nhrpd eigrpd bgpd/rfp-example/librfp \
|
||||
bgpd/rfp-example/rfptest tools snapcraft babeld python \
|
||||
bgpd/rfp-example/rfptest tools babeld \
|
||||
# end
|
||||
|
||||
EXTRA_DIST += aclocal.m4 SERVICES REPORTING-BUGS \
|
||||
if PKGSRC
|
||||
rcdir=@pkgsrcrcdir@
|
||||
rc_SCRIPTS = \
|
||||
pkgsrc/bgpd.sh \
|
||||
pkgsrc/ospf6d.sh \
|
||||
pkgsrc/ospfd.sh \
|
||||
pkgsrc/ripd.sh \
|
||||
pkgsrc/ripngd.sh \
|
||||
pkgsrc/zebra.sh \
|
||||
# end
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
REPORTING-BUGS \
|
||||
SERVICES \
|
||||
aclocal.m4 \
|
||||
update-autotools \
|
||||
vtysh/Makefile.in vtysh/Makefile.am \
|
||||
tools/rrcheck.pl tools/rrlookup.pl tools/zc.pl \
|
||||
tools/zebra.el tools/multiple-bgpd.sh
|
||||
m4/README.txt \
|
||||
\
|
||||
python/clidef.py \
|
||||
python/clippy/__init__.py \
|
||||
\
|
||||
redhat/frr.init \
|
||||
redhat/frr.service \
|
||||
redhat/daemons \
|
||||
redhat/frr.logrotate \
|
||||
redhat/frr.pam \
|
||||
redhat/frr.spec \
|
||||
redhat/README.rpm_build.md \
|
||||
\
|
||||
snapcraft/snapcraft.yaml \
|
||||
snapcraft/README.snap_build.md \
|
||||
snapcraft/README.usage.md \
|
||||
snapcraft/extra_version_info.txt \
|
||||
snapcraft/scripts \
|
||||
snapcraft/defaults \
|
||||
snapcraft/helpers \
|
||||
snapcraft/snap \
|
||||
\
|
||||
tools/multiple-bgpd.sh \
|
||||
tools/rrcheck.pl \
|
||||
tools/rrlookup.pl \
|
||||
tools/zc.pl \
|
||||
tools/zebra.el \
|
||||
\
|
||||
vtysh/Makefile.am \
|
||||
vtysh/Makefile.in \
|
||||
# end
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
|
|
11
configure.ac
11
configure.ac
|
@ -75,14 +75,13 @@ AC_SUBST(exampledir)
|
|||
|
||||
dnl default is to match previous behavior
|
||||
pkgsrcrcdir=""
|
||||
pkgsrcdir=""
|
||||
AC_ARG_ENABLE([pkgsrcrcdir],
|
||||
AS_HELP_STRING([--enable-pkgsrcrcdir],
|
||||
[specify directory for rc.d scripts]),
|
||||
pkgsrcrcdir="$enableval"; pkgsrcdir="pkgsrc",)
|
||||
pkgsrcrcdir="$enableval",)
|
||||
dnl XXX add --pkgsrcrcdir to autoconf standard directory list somehow
|
||||
AC_SUBST(pkgsrcdir)
|
||||
AC_SUBST(pkgsrcrcdir)
|
||||
AM_CONDITIONAL([PKGSRC], [test "x$pkgsrcrcdir" != "x"])
|
||||
|
||||
AC_ARG_WITH([moduledir], [AS_HELP_STRING([--with-moduledir=DIR], [module directory (${libdir}/frr/modules)])], [
|
||||
moduledir="$withval"
|
||||
|
@ -1823,18 +1822,14 @@ AC_MSG_RESULT($ac_cv_htonl_works)
|
|||
AC_CONFIG_FILES([Makefile ripd/Makefile
|
||||
ripngd/Makefile bgpd/Makefile ospfd/Makefile watchfrr/Makefile
|
||||
ospf6d/Makefile ldpd/Makefile isisd/Makefile vtysh/Makefile
|
||||
doc/Makefile ospfclient/Makefile tests/Makefile m4/Makefile
|
||||
doc/Makefile ospfclient/Makefile tests/Makefile
|
||||
bgpd/rfp-example/rfptest/Makefile bgpd/rfp-example/librfp/Makefile
|
||||
babeld/Makefile
|
||||
pimd/Makefile
|
||||
eigrpd/Makefile
|
||||
nhrpd/Makefile
|
||||
redhat/Makefile
|
||||
tools/Makefile
|
||||
pkgsrc/Makefile
|
||||
python/Makefile
|
||||
redhat/frr.spec
|
||||
snapcraft/Makefile
|
||||
snapcraft/snapcraft.yaml
|
||||
lib/version.h
|
||||
tests/lib/cli/test_cli.refout
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
EXTRA_DIST=Makefile.am README.txt
|
|
@ -1,3 +0,0 @@
|
|||
rcdir=@pkgsrcrcdir@
|
||||
|
||||
rc_SCRIPTS = bgpd.sh ospf6d.sh ospfd.sh ripd.sh ripngd.sh zebra.sh
|
|
@ -1,3 +0,0 @@
|
|||
EXTRA_DIST = \
|
||||
clidef.py \
|
||||
clippy/__init__.py
|
|
@ -1,5 +0,0 @@
|
|||
|
||||
EXTRA_DIST = frr.init frr.service daemons \
|
||||
frr.logrotate frr.pam frr.spec \
|
||||
README.rpm_build.md
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
EXTRA_DIST = snapcraft.yaml \
|
||||
README.snap_build.md \
|
||||
README.usage.md \
|
||||
extra_version_info.txt \
|
||||
scripts \
|
||||
defaults \
|
||||
helpers \
|
||||
snap
|
Loading…
Reference in a new issue