Skip to content

Commit

Permalink
Add Debian package rules
Browse files Browse the repository at this point in the history
To build debian package just run:
	dpkg-buildpackage -rfakeroot

To sign package:
	dpkg-buildpackage -rfakeroot --sign-key=KEY_ID

Signed-off-by: Oleh Kravchenko <[email protected]>
  • Loading branch information
Oleh-Kravchenko committed Aug 10, 2019
1 parent f119927 commit 727ba1f
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
*.*~
*.bak
*.kdev4
*.orig
*.patch
*~
build
obj-*/
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cmake-uninstall (0.0.2) experimental; urgency=low

* Initial release

-- Oleh Kravchenko <[email protected]> Wed, 2 Jan 2019 00:04:24 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5
11 changes: 11 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Source: cmake-uninstall
Section: devel
Priority: optional
Maintainer: Oleh Kravchenko <[email protected]>
Build-Depends: cmake, git
Homepage: https://gitlab.com/Oleh-Kravchenko/cmake-uninstall

Package: cmake-uninstall
Architecture: all
Depends: cmake
Description: Adds uninstall target to CMake projects
4 changes: 4 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/make -f

%:
dh $@ --buildsystem cmake --without autoreconf

0 comments on commit 727ba1f

Please sign in to comment.