Skip to content

Commit

Permalink
Made packaging scripts an opt-in, not default
Browse files Browse the repository at this point in the history
  • Loading branch information
emzeat committed Feb 2, 2014
1 parent bd6e107 commit 6027b18
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
/*.txt.user
/*.txt.user
/package/debian/changelog
/package/ubuntu/changelog
23 changes: 12 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,16 @@ endif()

# packaging

if(APPLE)
include(package/osx/pkg.cmake)
elseif(UNIX)
include(package/rpm/rpm.cmake)
include(package/debian/deb.cmake)
include(package/ubuntu/deb.cmake)
else() # Windows ...
include(package/windows/zip.cmake)
if( XDISPATCH_INCLUDE_PACKAGING )
if(APPLE)
include(package/osx/pkg.cmake)
elseif(UNIX)
include(package/rpm/rpm.cmake)
include(package/debian/deb.cmake)
include(package/ubuntu/deb.cmake)
else() # Windows ...
include(package/windows/zip.cmake)
endif()

include(CPack)
endif()


include(CPack)
2 changes: 1 addition & 1 deletion package/debian/changelog.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
xdispatch (${XDISPATCH_VERSION}) unstable; urgency=low

* Unstable build of trunk revision ${XDISPATCH_WC_REVISION}
* Unstable build of master commit ${XDISPATCH_WC_REVISION}

-- Marius Zwicker <[email protected]> ${MZ_DATE_STRING}

Expand Down
2 changes: 1 addition & 1 deletion package/ubuntu/changelog.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
xdispatch (${XDISPATCH_VERSION}-0ubuntu1) precise; urgency=low

* Unstable build of trunk revision ${XDISPATCH_WC_REVISION}
* Unstable build of master commit ${XDISPATCH_WC_REVISION}

-- Marius Zwicker <[email protected]> ${MZ_DATE_STRING}

Expand Down

0 comments on commit 6027b18

Please sign in to comment.