Browse Source

[trac800] Makefile fixes

Michal 'vorner' Vaner 13 years ago
parent
commit
c62810c526
3 changed files with 4 additions and 1 deletions
  1. 1 0
      configure.ac
  2. 0 1
      src/bin/bind10/tests/Makefile.am
  3. 3 0
      src/bin/bind10/tests/sockcreator_test.py

+ 1 - 0
configure.ac

@@ -905,6 +905,7 @@ AC_OUTPUT([doc/version.ent
            src/bin/bind10/bind10_src.py
            src/bin/bind10/run_bind10.sh
            src/bin/bind10/tests/bind10_test.py
+           src/bin/bind10/tests/sockcreator_test.py
            src/bin/bindctl/run_bindctl.sh
            src/bin/bindctl/bindctl_main.py
            src/bin/bindctl/tests/bindctl_test

+ 0 - 1
src/bin/bind10/tests/Makefile.am

@@ -2,7 +2,6 @@ PYCOVERAGE_RUN = @PYCOVERAGE_RUN@
 #PYTESTS = args_test.py bind10_test.py
 # NOTE: this has a generated test found in the builddir
 PYTESTS = bind10_test.py sockcreator_test.py
-EXTRA_DIST = $(PYTESTS)
 
 # If necessary (rare cases), explicitly specify paths to dynamic libraries
 # required by loadable python modules.

+ 3 - 0
src/bin/bind10/tests/sockcreator_test.py

@@ -13,6 +13,9 @@
 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
+# This test file is generated .py.in -> .py just to be in the build dir,
+# same as the rest of the tests. Saves a lot of stuff in makefile.
+
 """
 Tests for the bind10.sockcreator module.
 """