Browse Source

[3591] Fix for DESTDIR installation hook

Tomek Mrugalski 10 years ago
parent
commit
fb1dec2fe8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile.am

+ 1 - 1
Makefile.am

@@ -121,7 +121,7 @@ cppcheck:
 
 # These steps are necessary during installation
 install-exec-hook:
-	mkdir -p ${localstatedir}/run/${PACKAGE_NAME}
+	mkdir -p $(DESTDIR)${localstatedir}/run/${PACKAGE_NAME}
 
 ### include tool to generate documentation from log message specifications
 ### in the distributed tarball: