summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 3502e45a1d46d37b46d8c8fad506a7096c11175d (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@ \
         @ISISD@ @VTYSH@ @OSPFCLIENT@ redhat doc

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

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
	rm -rf `find $(distdir)/doc -type d -name CVS`
	rm -rf `find $(distdir)/ -type f -name "*~"`