From 0fd7b97f2b220c293f600fbe6eef3fb5bfaf7453 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 12 Jul 2012 10:15:52 +0200 Subject: added a 'dist-gz' target fixes dependency on libcurl on Debian (libcurl4-openssl-dev) --- debian/control | 2 +- makefiles/dist.mk | 8 ++++++-- tools/nagios-plugin-curl.dsc | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index 3a35526..1805b92 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: unknown Priority: extra Maintainer: Andreas Baumann Build-Depends: debhelper (>= 4.1.16), pkg-config, - libcurl-dev + libcurl4-openssl-dev Standards-Version: 3.8.3 Homepage: https://github.com/andreasbaumann/nagios-plugin-curl diff --git a/makefiles/dist.mk b/makefiles/dist.mk index 01464da..ff4f1ab 100644 --- a/makefiles/dist.mk +++ b/makefiles/dist.mk @@ -5,9 +5,9 @@ # - PACKAGE_VERSION # # provides: -# - target 'dist' +# - targets 'dist', 'dist-gz' -.PHONY: dist +.PHONY: dist dist-gz dist: distclean test -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar || rm -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar test -d /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION) || rm -rf /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION) @@ -19,3 +19,7 @@ dist: distclean tar cvf /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar $(PACKAGE_NAME)-$(PACKAGE_VERSION) rm -rf /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION) mv -f /tmp/$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar . + +dist-gz: dist + rm -f $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz + gzip $(PACKAGE_NAME)-$(PACKAGE_VERSION).tar diff --git a/tools/nagios-plugin-curl.dsc b/tools/nagios-plugin-curl.dsc index 2a70f13..12157eb 100644 --- a/tools/nagios-plugin-curl.dsc +++ b/tools/nagios-plugin-curl.dsc @@ -5,5 +5,5 @@ Binary: nagios-plugin-curl Maintainer: Andreas Baumann Architecture: any Build-Depends: debhelper (>= 4.1.16), pkg-config, - libcurl-dev + libcurl4-openssl-dev Files: -- cgit v1.2.3-54-g00ecf