summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-07-12 10:15:52 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-07-12 10:15:52 +0200
commit0fd7b97f2b220c293f600fbe6eef3fb5bfaf7453 (patch)
tree59d1a53a18098a642df5fa5e857b36878083fbee
parent2477f9aa4c4eb89a143b308dbf446c71bbfd90bb (diff)
downloadnagios-plugin-curl-0fd7b97f2b220c293f600fbe6eef3fb5bfaf7453.tar.gz
nagios-plugin-curl-0fd7b97f2b220c293f600fbe6eef3fb5bfaf7453.tar.bz2
added a 'dist-gz' target
fixes dependency on libcurl on Debian (libcurl4-openssl-dev)
-rw-r--r--debian/control2
-rw-r--r--makefiles/dist.mk8
-rw-r--r--tools/nagios-plugin-curl.dsc2
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 <abaumann@yahoo.com>
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 <abaumann@yahoo.com>
Architecture: any
Build-Depends: debhelper (>= 4.1.16), pkg-config,
- libcurl-dev
+ libcurl4-openssl-dev
Files: