summaryrefslogtreecommitdiff
path: root/accel-pppd/CMakeLists.txt
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-18 20:21:48 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-18 20:21:48 +0300
commit2742af0f2760b7b8d326aa4112aac14b453e3bbb (patch)
treead49eb62da5a5521a18200449c4a9c24277ef657 /accel-pppd/CMakeLists.txt
parentf350fd852cd4870c72736cba154153cfad4ceea9 (diff)
downloadaccel-ppp-2742af0f2760b7b8d326aa4112aac14b453e3bbb.tar.gz
accel-ppp-2742af0f2760b7b8d326aa4112aac14b453e3bbb.zip
updated build system
Diffstat (limited to 'accel-pppd/CMakeLists.txt')
-rw-r--r--accel-pppd/CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt
index b3c8dad6..526ad893 100644
--- a/accel-pppd/CMakeLists.txt
+++ b/accel-pppd/CMakeLists.txt
@@ -96,10 +96,13 @@ INSTALL(TARGETS accel-pppd
RUNTIME DESTINATION sbin
)
-INSTALL(FILES accel-ppp.conf DESTINATION /etc RENAME accel-ppp.conf.dist)
INSTALL(FILES accel-ppp.conf.5 DESTINATION share/man/man5)
-INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/log/accel-ppp)")
-INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/run/accel-ppp)")
-INSTALL(CODE "EXECUTE_PROCESS(COMMAND 'echo 0 > /var/run/accel-ppp/seq')")
+IF (NOT DEFINED CPACK_TYPE)
+ INSTALL(FILES accel-ppp.conf DESTINATION /etc RENAME accel-ppp.conf.dist)
+
+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/log/accel-ppp)")
+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND mkdir -p /var/run/accel-ppp)")
+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND 'echo 0 > /var/run/accel-ppp/seq')")
+ENDIF (NOT DEFINED CPACK_TYPE)