Skip to content

Commit 6891310

Browse files
committed
Fixed a bug in catch and added debian building for launchpad
1 parent 7f6d44c commit 6891310

File tree

30 files changed

+344
-47
lines changed

30 files changed

+344
-47
lines changed

Makefile.am

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
SUBDIRS = include examples tests
22
TESTS = tests/test
3-
EXTRA_DIST=debian

cleanup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ rm -rf Makefile.in \
2525
## remove (maybe) some other generated files
2626
rm -rf deb
2727
rm -rf cpuaff*.tar.gz
28+
rm -rf deb.*

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.63])
5-
AC_INIT(cpuaff,1.0.0,[email protected],cpuaff)
5+
AC_INIT(cpuaff,1.0.2,[email protected],cpuaff)
66
AM_INIT_AUTOMAKE
77
AC_OUTPUT(Makefile include/Makefile examples/Makefile tests/Makefile)
88
AC_CONFIG_HEADERS([config.h])

dch

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
3+
VERSION=""
4+
5+
while getopts "v:" opt; do
6+
case $opt in
7+
v)
8+
VERSION=$OPTARG
9+
shift 2
10+
;;
11+
esac
12+
done
13+
14+
dch -v $VERSION~vivid -c debian.vivid/changelog -D vivid $*
15+
dch -v $VERSION~trusty -c debian.trusty/changelog -D trusty $*
16+
dch -v $VERSION~precise -c debian.precise/changelog -D precise $*

debian.precise/changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
libcpuaff (1.0.2-1~precise) precise; urgency=medium
2+
3+
* Working on first launchpad build
4+
5+
-- Daniel C. Dillon <[email protected]> Sun, 13 Sep 2015 15:46:31 -0500
6+
7+
libcpuaff (1.0.2-0) unstable; urgency=low
8+
9+
* Initial release
10+
11+
-- Daniel C. Dillon <[email protected]> Sun, 13 Sep 2015 15:21:04 -0500
File renamed without changes.

debian/control renamed to debian.precise/control

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
Source: libcpuaff-dev
2-
Maintainer: Daniel C. Dillon <[email protected]>
3-
Section: libdevel
1+
Source: libcpuaff
42
Priority: optional
3+
Maintainer: Daniel C. Dillon <[email protected]>
4+
Build-Depends: debhelper (>= 9), autotools-dev
55
Standards-Version: 3.9.6
6-
Build-Depends: debhelper (>= 9)
6+
Section: libs
77

88
Package: libcpuaff-dev
9-
Architecture: all
9+
Section: libdevel
10+
Architecture: any
1011
Depends: ${misc:Depends}
1112
Description: C++ header only library for managing CPU affinity.
1213
cpuaff provides an interface to cpu affinity management that

debian.precise/rules

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/make -f
2+
# See debhelper(7) (uncomment to enable)
3+
# output every command that modifies files on the build system.
4+
#DH_VERBOSE = 1
5+
6+
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
7+
DPKG_EXPORT_BUILDFLAGS = 1
8+
include /usr/share/dpkg/default.mk
9+
10+
# see FEATURE AREAS in dpkg-buildflags(1)
11+
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
12+
13+
# see ENVIRONMENT in dpkg-buildflags(1)
14+
# package maintainers to append CFLAGS
15+
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
16+
# package maintainers to append LDFLAGS
17+
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
18+
19+
20+
# main packaging script based on dh7 syntax
21+
%:
22+
dh $@ --with autotools-dev
23+
24+
# debmake generated override targets
25+
# This is example for Cmake (See http://bugs.debian.org/641051 )
26+
#override_dh_auto_configure:
27+
# dh_auto_configure -- \
28+
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
29+
30+
31+
32+

0 commit comments

Comments
 (0)