diff options
| author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-12-02 00:57:10 +0100 |
|---|---|---|
| committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2007-12-02 00:57:10 +0100 |
| commit | 5a9b9d23b9b4a2388f64ddca2bf9b89f814b85f4 (patch) | |
| tree | c9332bd9778a1130478d6fa2e7458a2e7ab0e24b | |
| parent | 9367fc96ca95ebc1db02492295960661558bf740 (diff) | |
Make python specific stuff conditional
| -rw-r--r-- | Makefile.am | 4 | ||||
| -rw-r--r-- | nbb/Makefile-files | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 4e6b258..873728a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,8 +29,10 @@ include git-rebase-subtree/Makefile-files include git-check-commit-msg/Makefile-files include nbb/Makefile-files +if HAVE_PYTHON PYTHONPATH = $(DESTDIR)$(pythondir) export PYTHONPATH +endif if HAVE_NDIM_MAN2TXT .man.txt: @@ -60,3 +62,5 @@ upload: $(UPLOAD_FILES) dist tag clean-local: rm -rf "$(UPLOAD_DIR)" + +# End of Makefile.am. diff --git a/nbb/Makefile-files b/nbb/Makefile-files index 123c0c6..c55031e 100644 --- a/nbb/Makefile-files +++ b/nbb/Makefile-files @@ -1,5 +1,7 @@ # -*- makefile -*- +if HAVE_PYTHON + # For now AM_INSTALLCHECK_STD_OPTIONS_EXEMPT += nbb/nbb @@ -14,4 +16,6 @@ nbb/nbb: nbb/nbb_lib.py python_PYTHON += nbb/nbb_lib.py +endif + # End of Makefile-files. |
