1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 14:33:14 +02:00

Moved the tools executables to the bin directory, and fix anoperc's install location to also be bin.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1939 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-01-26 23:07:11 +00:00
parent c1df37e5ba
commit 4f312227d7
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
if(NOT WIN32)
configure_file(${Anope_SOURCE_DIR}/src/bin/anoperc.in ${Anope_BINARY_DIR}/src/bin/anoperc)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/anoperc
DESTINATION .
DESTINATION bin
)
# Add anoperc to list of files for CPack to ignore
add_to_cpack_ignored_files("anoperc$")
+2 -2
View File
@@ -19,9 +19,9 @@ foreach(SRC ${TOOLS_SRCS})
add_executable(${EXE} ${SRC})
set_target_properties(${EXE} PROPERTIES LINKER_LANGUAGE CXX LINK_FLAGS "${LDFLAGS}")
add_dependencies(${EXE} ${PROGRAM_NAME})
# Set the executable to be installed to the tools directory under the bin directory
# Set the executable to be installed to the bin directory under the main directory
install(TARGETS ${EXE}
DESTINATION tools
DESTINATION bin
)
# Add the executable to the list of files for CPack to ignore
get_target_property(EXE_BINARY ${EXE} LOCATION)
+4 -4
View File
@@ -35,9 +35,9 @@ spotless: clean
install: anopesmtp db-merger db-convert
test -d ${INSTDIR} || mkdir ${INSTDIR}
test -d $(INSTDIR)/tools || mkdir $(INSTDIR)/tools
$(INSTALL) anopesmtp $(INSTDIR)/tools/anopesmtp
$(INSTALL) db-merger $(INSTDIR)/tools/db-merger
$(INSTALL) db-convert $(INSTDIR)/tools/db-convert
test -d $(INSTDIR)/bin || mkdir $(INSTDIR)/bin
$(INSTALL) anopesmtp $(INSTDIR)/bin/anopesmtp
$(INSTALL) db-merger $(INSTDIR)/bin/db-merger
$(INSTALL) db-convert $(INSTDIR)/bin/db-convert
DUMMY: