summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 828e1fd)
raw | patch | inline | side by side (parent: 828e1fd)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 May 2007 07:45:37 +0000 (09:45 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 May 2007 18:00:54 +0000 (18:00 +0000) |
debian/rules | patch | blob | history |
diff --git a/debian/rules b/debian/rules
index 7c4fe95ab6313458c2f0cca707481a6e751b4ebd..c5f1ca9e46688a9a00ee80f9d7f1538022a8cab3 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
dh_clean -k
dh_installdirs -i
- include_dir=$(CURDIR)/debian/collectd-dev/usr/include/collectd/ \
+ include_dir=debian/collectd-dev/usr/include/collectd/ \
&& mkdir -p $$include_dir \
&& cp src/*.h $$include_dir
$(MAKE) install DESTDIR=$(CURDIR)/debian/collectd
- rm -f $(CURDIR)/debian/collectd/usr/lib/collectd/*.la
+ rm -f debian/collectd/usr/lib/collectd/*.la
- rm -f $(CURDIR)/debian/collectd/etc/collectd.conf
- install -D -m 0644 $(CURDIR)/debian/collectd.conf \
- $(CURDIR)/debian/collectd/etc/collectd/collectd.conf
+ rm -f debian/collectd/etc/collectd.conf
+ install -D -m 0644 debian/collectd.conf \
+ debian/collectd/etc/collectd/collectd.conf
for PLUGIN in apache dns mysql perl ping sensors; do \
- plugin_dir=$(CURDIR)/debian/collectd-$$PLUGIN/usr/lib/collectd/; \
+ plugin_dir=debian/collectd-$$PLUGIN/usr/lib/collectd/; \
mkdir -p $$plugin_dir; \
- mv $(CURDIR)/debian/collectd/usr/lib/collectd/$$PLUGIN.so \
- $$plugin_dir; \
+ mv debian/collectd/usr/lib/collectd/$$PLUGIN.so $$plugin_dir; \
done
mkdir -p debian/collectd/usr/lib/collectd/utils/