#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_avoid_absolute_files.dpath.dpatch by  <jfs@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Make location of report_formats relative to the installation directory

@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' openvas-manager-2.0.3~/CMakeLists.txt openvas-manager-2.0.3/CMakeLists.txt
--- openvas-manager-2.0.3~/CMakeLists.txt	2011-04-30 16:25:25.000000000 +0200
+++ openvas-manager-2.0.3/CMakeLists.txt	2011-04-30 16:26:01.000000000 +0200
@@ -257,7 +257,7 @@
 
 ## Install
 
-install (CODE "file (MAKE_DIRECTORY ${OPENVAS_STATE_DIR}/openvasmd/report_formats/)")
+#install (CODE "file (MAKE_DIRECTORY DESTINATION ${OPENVAS_STATE_DIR}/openvasmd/report_formats/))")
 
 install (FILES ${CMAKE_BINARY_DIR}/src/openvasmd_log.conf
          DESTINATION ${OPENVAS_SYSCONF_DIR})
