From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6514902723454828544 X-Received: by 10.80.230.18 with SMTP id y18mr6460587edm.2.1516868994948; Thu, 25 Jan 2018 00:29:54 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.80.182.240 with SMTP id f45ls7763958ede.1.gmail; Thu, 25 Jan 2018 00:29:54 -0800 (PST) X-Google-Smtp-Source: AH8x226rG2h4qab075RYQqrpHiGdtaGQrvoW7fggMl6TZpcAobSI+Xq1Iqv5zp/z3j7LB3Fck8Q6 X-Received: by 10.80.202.11 with SMTP id d11mr6449382edi.9.1516868994328; Thu, 25 Jan 2018 00:29:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516868994; cv=none; d=google.com; s=arc-20160816; b=ty31PknGrRamHdou2j3jMhUPohVvKofAikSdWFX6Vm86eq4ft5DaBntpD0AflydyN/ ytQhW8xDtW1Dv6YZX68s3N0JHi21Vjr8zmt6P3wxgBc/+f4yiWqtin4DX9e/TbLXKgkd zEnUjSkwj44sMVXIFCRBbF6TQVYE7Ode/7r9NWOr8Zd0AWgeMyEJVo2YiS/BFPGYdUhy CnL/5Bid9FKUGdu9Q0W2vL5PiBV8dFIEXDH/JGkm8K8GdKYpi1pFkQHc3FPwI9rz46yF oh+0FKlSuUcNHkzq8ZfdoADjO62B6fk8uTyAXUFGn5cVHEJwXDASVWHUwshRI/PkRg2r 0ngg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=jMcF4WyXhuTPp4kv7kVDs3oazN09T11Pe9FTkkiZRhk=; b=0txblShNCquWk7QV3eQwyWf+l3Iu5biUGMIA3/VKG6alA1FEoZIZBbHB48xmGLIyiO XTUBuPVOwthyxHJKAG0VHGlwWZL5xbcwaseOjt51nmZou4gbp4iADZcrZuw1VhPRqruM D7UOn1CmYuUKyrQpzOcb3EjgrNto0ZLdNNQ2JdgWsRJHN9wQOItAimFIHB/auWHYsWcg EdAKBj+Wuf0E9FNc+LHjG0KSin/Oo3dL+5xogElklcZzYc69jq/LCl8r7OML5mPZDntL nbORnjFZ3G6Q6XRrbfFKh8pDRIgbZRyvuB1lATsGCD2Q7hR4URyXTbNNsW+obnWGE1Cl S3Rg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id m19si297547edd.4.2018.01.25.00.29.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Jan 2018 00:29:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from localhost.localdomain ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w0P8TefA019735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Jan 2018 09:29:46 +0100 From: Alexander Smirnov To: isar-users@googlegroups.com Cc: Alexander Smirnov Subject: [PATCH 2/2] Add dependency from 'libhello'. Date: Thu, 25 Jan 2018 11:29:33 +0300 Message-Id: <20180125082933.4566-2-asmirnov@ilbers.de> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20180125082933.4566-1-asmirnov@ilbers.de> References: <20180125082933.4566-1-asmirnov@ilbers.de> X-TUID: S6NyWBSBe2+0 Signed-off-by: Alexander Smirnov --- 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 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 -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 +#include int main(void) { - printf("Hello, world!\n"); + say_hello(); return 0; } -- 2.1.4