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

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

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

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

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 "*~"`