]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: don't gen C headers if Rust isn't enabled
authorVictor Julien <victor@inliniac.net>
Mon, 29 Jan 2018 13:16:01 +0000 (14:16 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 12 Feb 2018 09:02:07 +0000 (10:02 +0100)
rust/Makefile.am

index 52ec5a2602626be688e8898eaa824eb0cc6e2000..219bf80d8247da0d50a6cf436b541d9574f4b88d 100644 (file)
@@ -62,12 +62,6 @@ else
 vendor:
 endif
 
-else # HAVE_RUST
-
-all-local clean-local check vendor:
-
-endif # HAVE_RUST
-
 # Can only include the headers if we have Python to generate them.
 if HAVE_PYTHON
 EXTRA_DIST +=  gen/c-headers
@@ -76,3 +70,8 @@ gen/c-headers:
 else
 gen/c-headers:
 endif
+else # HAVE_RUST
+
+all-local clean-local check vendor gen/c-headers:
+
+endif # HAVE_RUST