Browse Source

build: Fix distcheck errors

* doc/Makefile.am: Clean up the info files.  Ignore errors with DVI
  building, who cares.

* tests/Makefile.am: cleanup stuff to fix distcleancheck
Paul Jakma 3 years ago
parent
commit
db2dafa63b
2 changed files with 8 additions and 0 deletions
  1. 6 0
      doc/Makefile.am
  2. 2 0
      tests/Makefile.am

+ 6 - 0
doc/Makefile.am

@@ -119,3 +119,9 @@ EXTRA_DIST = BGP-TypeCode draft-zebra-00.ms draft-zebra-00.txt \
 
 draft-zebra-00.txt: draft-zebra-00.ms
 	groff -T ascii -ms $< > $@
+
+DISTCLEANFILES = quagga.info*
+
+# do nothing for DVI, so we don't have to generate or distribute EPS
+# figures
+dvi: # nothing

+ 2 - 0
tests/Makefile.am

@@ -43,6 +43,8 @@ test-commands-defun.c: ../vtysh/vtysh_cmd.c
 		> test-commands-defun.c
 
 BUILT_SOURCES = test-commands-defun.c
+CLEANFILES = test-commands-defun.c bgpd libzebra
+
 noinst_HEADERS = prng.h tests.h common-cli.h
 
 testcli_SOURCES = test-cli.c common-cli.c