make: simplify Makefile.am in src/
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 9 Feb 2017 13:51:53 +0000 (14:51 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 9 Feb 2017 13:51:53 +0000 (14:51 +0100)
Drop the redundant variable and use SUBDIRS directly.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/Makefile.am

index 1fd498acafa59ecc2e857bfd2183cbe5e38a1c81..e7b0a860e096907478d6dda86f1a8f747d712227 100644 (file)
@@ -6,10 +6,10 @@
 # as published by the Free Software Foundation.
 #
 
+SUBDIRS = lib
+
 if WITH_TOOLS
 
-TOOLS_SUBDIR = tools
+SUBDIRS += tools
 
 endif
-
-SUBDIRS = . lib $(TOOLS_SUBDIR)