Mailinglist Archive: zypp-commit (325 mails)

< Previous Next >
[zypp-commit] r7181 - /trunk/libzypp/CMakeLists.txt
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Tue, 11 Sep 2007 11:52:42 -0000
  • Message-id: <20070911115242.495212B08D@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Tue Sep 11 13:52:41 2007
New Revision: 7181

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7181&view=rev
Log:
- SYSCONFDIR variable added for /etc

Modified:
    trunk/libzypp/CMakeLists.txt

Modified: trunk/libzypp/CMakeLists.txt
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/CMakeLists.txt?rev=7181&r1=7180&r2=7181&view=diff
==============================================================================
--- trunk/libzypp/CMakeLists.txt (original)
+++ trunk/libzypp/CMakeLists.txt Tue Sep 11 13:52:41 2007
@@ -10,6 +10,14 @@
   SET ( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" )
 ENDIF ( DEFINED  LIB )
 MESSAGE(STATUS "Libraries will be installed in ${LIB_INSTALL_DIR}" )
+
+# system configuration dir (etc)
+
+IF( NOT DEFINED SYSCONFDIR )
+  SET( SYSCONFDIR /etc )
+ENDIF( NOT DEFINED SYSCONFDIR )
+MESSAGE(STATUS "Config files will be installed in ${SYSCONFDIR}" )
+
 ####################################################################
 # CONFIGURATION                                                    #
 ####################################################################
@@ -206,8 +214,8 @@
 MESSAGE(STATUS "FindZypp.cmake will be installed in ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules")
 INSTALL( FILES ${CMAKE_SOURCE_DIR}/cmake/modules/FindZypp.cmake DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules )
 
-MESSAGE(STATUS "zypp.conf will be installed in /etc/zypp")
-INSTALL( FILES ${CMAKE_SOURCE_DIR}/zypp.conf DESTINATION /etc/zypp )
+MESSAGE(STATUS "zypp.conf will be installed in ${SYSCONFDIR}/zypp")
+INSTALL( FILES ${CMAKE_SOURCE_DIR}/zypp.conf DESTINATION ${SYSCONFDIR}/zypp )
 
 ####################################################################
 # SUBDIRECTORIES                                                   #

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages