public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Alexander Smirnov <asmirnov@ilbers.de>
To: isar-users@googlegroups.com
Cc: Alexander Smirnov <asmirnov@ilbers.de>
Subject: [PATCH 2/2] Add dependency from 'libhello'.
Date: Thu, 25 Jan 2018 11:29:33 +0300	[thread overview]
Message-ID: <20180125082933.4566-2-asmirnov@ilbers.de> (raw)
In-Reply-To: <20180125082933.4566-1-asmirnov@ilbers.de>

Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
---
 Makefile.am      | 1 +
 Makefile.in      | 3 ++-
 debian/changelog | 6 ++++++
 debian/control   | 2 +-
 hello.c          | 4 ++--
 5 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 17fea24..6f64c47 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,7 @@ RM = rm
 
 bin_PROGRAMS = hello
 hello_SOURCES = hello.c
+hello_LDADD = -lhello
 man1_MANS = hello.1
 
 hello.1: hello.sgml
diff --git a/Makefile.in b/Makefile.in
index 5bdf0b6..cd6fff1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -96,7 +96,7 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
 PROGRAMS = $(bin_PROGRAMS)
 am_hello_OBJECTS = hello.$(OBJEXT)
 hello_OBJECTS = $(am_hello_OBJECTS)
-hello_LDADD = $(LDADD)
+hello_DEPENDENCIES =
 AM_V_P = $(am__v_P_@AM_V@)
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 am__v_P_0 = false
@@ -288,6 +288,7 @@ top_srcdir = @top_srcdir@
 DB2MAN = docbook-to-man
 RM = rm
 hello_SOURCES = hello.c
+hello_LDADD = -lhello
 man1_MANS = hello.1
 all: config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-am
diff --git a/debian/changelog b/debian/changelog
index 4ccf2b1..abf142b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hello (0.2) unstable; urgency=low
+
+  * Add libhello dependency.
+
+ -- Alexander Smirnov <asmirnov@ilbers.de>  Mon, 22 Jan 2018 20:00:00 +0100
+
 hello (0.1+g7f35942-1) unstable; urgency=low
 
   * Initial release.
diff --git a/debian/control b/debian/control
index 461fea4..f36e614 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: hello
 Section: misc
 Priority: extra
 Maintainer: Baurzhan Ismagulov <ibr@radix50.net>
-Build-Depends: debhelper (>= 9), autotools-dev
+Build-Depends: debhelper (>= 9), autotools-dev, libhello-dev
 Standards-Version: 3.9.5
 Homepage: https://github.com/ilbers/hello
 
diff --git a/hello.c b/hello.c
index 9edc47a..269c24b 100644
--- a/hello.c
+++ b/hello.c
@@ -5,10 +5,10 @@
  * version 2.
  */
 
-#include <stdio.h>
+#include <hello.h>
 
 int main(void)
 {
-	printf("Hello, world!\n");
+	say_hello();
 	return 0;
 }
-- 
2.1.4


  reply	other threads:[~2018-01-25  8:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-25  8:29 [PATCH 1/2] Rename binary package to avoid correlations with Debian hello Alexander Smirnov
2018-01-25  8:29 ` Alexander Smirnov [this message]
2018-01-25  9:06 ` Baurzhan Ismagulov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180125082933.4566-2-asmirnov@ilbers.de \
    --to=asmirnov@ilbers.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox