Add script to generate Debian package files for static applications
[oonf.git] / CMakeLists.txt
index b94c410..6a4d99f 100644 (file)
@@ -44,6 +44,8 @@ ADD_CUSTOM_TARGET(targz  COMMAND ${CMAKE_COMMAND}
                                  -D BINARY:STRING=${PROJECT_BINARY_DIR}
                                  -D VERSION:STRING=${VERSION}
                                  -D FORMAT:STRING=tar.gz
+                                 -D TARBALL:STRING=${TARBALL}
+                                 -D TARPREFIX:STRING=${TARPREFIX}
                                  -P ${CMAKE_SOURCE_DIR}/cmake/generate_archive.cmake)
                                 
 ADD_CUSTOM_TARGET(tarbz2 COMMAND ${CMAKE_COMMAND}
@@ -51,12 +53,16 @@ ADD_CUSTOM_TARGET(tarbz2 COMMAND ${CMAKE_COMMAND}
                                  -D BINARY:STRING=${PROJECT_BINARY_DIR}
                                  -D VERSION:STRING=${VERSION}
                                  -D FORMAT:STRING=tar.bz2
+                                 -D TARBALL:STRING=${TARBALL}
+                                 -D TARPREFIX:STRING=${TARPREFIX}
                                  -P ${CMAKE_SOURCE_DIR}/cmake/generate_archive.cmake)
 ADD_CUSTOM_TARGET(zip    COMMAND ${CMAKE_COMMAND}
                                  -D SOURCE:STRING=${CMAKE_SOURCE_DIR}
                                  -D BINARY:STRING=${PROJECT_BINARY_DIR}
                                  -D VERSION:STRING=${VERSION}
                                  -D FORMAT:STRING=zip
+                                 -D TARBALL:STRING=${TARBALL}
+                                 -D TARPREFIX:STRING=${TARPREFIX}
                                  -P ${CMAKE_SOURCE_DIR}/cmake/generate_archive.cmake)
 
 #########################