summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 6d9d864cec871230fc9a9269aa88ae201184df6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## Process this file with automake to produce Makefile.in.

SUBDIRS = lib @ZEBRA@ @BGPD@ @RIPD@ @RIPNGD@ @OSPFD@ @OSPF6D@ \
         @VTYSH@ @OSPFCLIENT@ doc

DIST_SUBDIRS = lib zebra bgpd ripd ripngd ospfd ospf6d vtysh \
	       ospfclient doc

EXTRA_DIST = aclocal.m4 SERVICES TODO REPORTING-BUGS vtysh/Makefile.in \
	vtysh/Makefile.am update-autotools doc/mpls

dist-hook:
	mkdir $(distdir)/tools
	cp -p $(srcdir)/tools/*.pl $(distdir)/tools
	cp -p $(srcdir)/tools/*.el $(distdir)/tools
	cp -p $(srcdir)/tools/*.cgi $(distdir)/tools
	cp -p $(srcdir)/redhat/*.init $(distdir)/redhat
	cp -p $(srcdir)/redhat/zebra.* $(distdir)/redhat
	rm -rf `find $(distdir)/doc -type d -name CVS`