]> granicus.if.org Git - vnstat/commitdiff
Makefile.am: install-data-hook depends on install-exec
authorFelix Geyer <debfx@fobos.de>
Sun, 9 Apr 2017 19:23:49 +0000 (21:23 +0200)
committerGitHub <noreply@github.com>
Sun, 9 Apr 2017 19:23:49 +0000 (21:23 +0200)
Calling $(DESTDIR)$(bindir)/vnstat$(EXEEXT) fails when installation of this
program is not yet finished.

Author: Adrian Bunk <bunk@debian.org>

Makefile.am

index 6bbe22f5adf8b2f998a7a61601933c2f2d1df9cd..e15698257fb3be3331f668b48205e1dfeb9f755d 100644 (file)
@@ -103,7 +103,7 @@ release: distcheck
        rm -fr $(PACKAGE_NAME)-$(PACKAGE_VERSION)
        ls -l $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz
 
-install-data-hook:
+install-data-hook: install-exec
        $(MKDIR_P) $(DESTDIR)$(sysconfdir)
 if IS_CROSSCOMPILED
        if [ ! -f $(DESTDIR)$(sysconfdir)/vnstat.conf ]; \