public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/zmap/files: zmap-1.1.0-out-of-src.patch
@ 2013-11-25 11:21 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2013-11-25 11:21 UTC (permalink / raw
  To: gentoo-commits

jlec        13/11/25 11:21:59

  Added:                zmap-1.1.0-out-of-src.patch
  Log:
  net-analyzer/zmap: Add release version
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

Revision  Changes    Path
1.1                  net-analyzer/zmap/files/zmap-1.1.0-out-of-src.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zmap/files/zmap-1.1.0-out-of-src.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zmap/files/zmap-1.1.0-out-of-src.patch?rev=1.1&content-type=text/plain

Index: zmap-1.1.0-out-of-src.patch
===================================================================
 CMakeLists.txt             | 2 +-
 src/CMakeLists.txt         | 4 ++--
 zmap_conf_install.cmake.in | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bea62ab..0378f44 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,4 +67,4 @@ add_subdirectory(src)
 FILE(GLOB CONF_FILES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/conf" "conf/*")
 message(STATUS "${CONF_FILES}")
 configure_file(zmap_conf_install.cmake.in zmap_conf_install.cmake)
-install(SCRIPT zmap_conf_install.cmake)
+install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/zmap_conf_install.cmake")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6e51f12..2c1ae5a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -75,11 +75,11 @@ add_custom_command(OUTPUT zopt.h
 	)
 
 add_custom_command(OUTPUT lexer.c
-	COMMAND flex -o "${CMAKE_CURRENT_BINARY_DIR}/lexer.c" --header-file="${CMAKE_CURRENT_BINARY_DIR}/lexer.h" lexer.l
+	COMMAND flex -o "${CMAKE_CURRENT_BINARY_DIR}/lexer.c" --header-file="${CMAKE_CURRENT_BINARY_DIR}/lexer.h" "${CMAKE_CURRENT_SOURCE_DIR}/lexer.l"
 	)
 
 add_custom_command(OUTPUT parser.c
-	COMMAND byacc -d -o parser.c parser.y
+	COMMAND byacc -d -o "${CMAKE_CURRENT_BINARY_DIR}/parser.c" "${CMAKE_CURRENT_SOURCE_DIR}/parser.y"
 	)
 
 add_executable(zmap ${SOURCES})
diff --git a/zmap_conf_install.cmake.in b/zmap_conf_install.cmake.in
index 358a97d..aba7a60 100644
--- a/zmap_conf_install.cmake.in
+++ b/zmap_conf_install.cmake.in
@@ -1,6 +1,6 @@
 foreach(conf_file ${CONF_FILES})
 	message(STATUS "${conf_file}")
 	if(NOT EXISTS "/etc/zmap/${conf_file}")
-		file(INSTALL "conf/${conf_file}" DESTINATION "/etc/zmap")
+		file(INSTALL "${CMAKE_CURRENT_SOURCE_DIR}/conf/${conf_file}" DESTINATION "/etc/zmap")
 	endif()
 endforeach()





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-25 11:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 11:21 [gentoo-commits] gentoo-x86 commit in net-analyzer/zmap/files: zmap-1.1.0-out-of-src.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox