]> git.ipfire.org Git - location/libloc.git/commitdiff
Makefile: Make sure to ship bash completion files even when disabled
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Feb 2023 11:42:50 +0000 (11:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Feb 2023 11:42:50 +0000 (11:42 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am

index 01e4f01be8ccf59e37234a4560f729b850fea067..624c3a3bdb368e65fbbea2042d86200345744259 100644 (file)
@@ -177,13 +177,14 @@ EXTRA_DIST += \
 CLEANFILES += \
        src/libloc.pc
 
-#dist_bashcompletion_DATA =
-
 if BUILD_BASH_COMPLETION
-dist_bashcompletion_DATA = \
+bashcompletion_DATA = \
        bash-completion/location
 endif
 
+EXTRA_DIST += \
+       bash-completion/location
+
 dist_pkgpython_PYTHON = \
        src/python/location/__init__.py \
        src/python/location/database.py \