]> 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>
Tue, 30 Jan 2018 13:43:52 +0000 (14:43 +0100)
rust/Makefile.am

index 370924603b4b5e4eb5552993a9995b51053b50b0..776d86b77ab0144239c19137cdccc529db29fc03 100644 (file)
@@ -64,12 +64,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
@@ -78,3 +72,8 @@ gen/c-headers:
 else
 gen/c-headers:
 endif
+else # HAVE_RUST
+
+all-local clean-local check vendor gen/c-headers:
+
+endif # HAVE_RUST