Fix removing empty /usr/include

This commit is contained in:
Jan Wagner 2013-08-25 13:30:31 +00:00
parent fdbe22492c
commit c0bb7868f2
2 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View file

@ -6,6 +6,7 @@ nagios-plugins (1.4.16+git20130823-1) UNRELEASED; urgency=low
- 10_check_apt_perfdata.dpatch - 10_check_apt_perfdata.dpatch
- 11_check_nt_npe.dpatch - 11_check_nt_npe.dpatch
- 12_check_smtp_double_threshold.dpatch - 12_check_smtp_double_threshold.dpatch
* Fix removing empty /usr/include
-- Jan Wagner <waja@cyconet.org> Fri, 23 Aug 2013 22:45:43 +0200 -- Jan Wagner <waja@cyconet.org> Fri, 23 Aug 2013 22:45:43 +0200

4
debian/rules vendored
View file

@ -182,8 +182,8 @@ install: build
mkdir -p ${NP_COMMON_DIR}/usr/share/nagios-plugins/dpkg mkdir -p ${NP_COMMON_DIR}/usr/share/nagios-plugins/dpkg
install -t ${NP_COMMON_DIR}/usr/share/nagios-plugins/dpkg \ install -t ${NP_COMMON_DIR}/usr/share/nagios-plugins/dpkg \
$(DEBIANDIR)/functions $(DEBIANDIR)/functions
# remove /usr/include from nagios-plugins-nasic (in case its empty) # remove /usr/include from nagios-plugins-basic (in case its empty and exists)
rmdir ${NP_BASIC_DIR}/usr/include [ ! -d ${NP_BASIC_DIR}/usr/include ] || rmdir ${NP_BASIC_DIR}/usr/include
# generate debian/README.Debian.plugins # generate debian/README.Debian.plugins
perl ./debian/bin/gen_plugin_deps.pl perl ./debian/bin/gen_plugin_deps.pl