summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2009-06-02 12:01:24 +0200
committerOndrej Filip <feela@majklik.network.cz>2009-06-02 12:01:24 +0200
commit99355da18f8598e93d0e55167582da9687eae082 (patch)
treef375b0c0559fbf3a0655f19d838a4c67f61ce6bd /tools
parent26978ec419217fccfbb8901033703ede886e78b7 (diff)
downloadbird-99355da18f8598e93d0e55167582da9687eae082.tar
bird-99355da18f8598e93d0e55167582da9687eae082.zip
Inlude DESTDIR in install to make life of packagers easier.
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 156a2eb..6307cf0 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -43,20 +43,20 @@ tags:
cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix $(objdir)/,$(dynamic-dirs)) $(client-dirs) -name *.[chY]`
install: all
- $(INSTALL) -d $(sbindir) $(sysconfdir) $(localstatedir)
- $(INSTALL_PROGRAM) -s $(exedir)/bird $(sbindir)/bird@SUFFIX6@
+ $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/$(localstatedir)
+ $(INSTALL_PROGRAM) -s $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
if test -n "@CLIENT@" ; then \
- $(INSTALL_PROGRAM) -s $(exedir)/birdc $(sbindir)/birdc@SUFFIX6@ ; \
+ $(INSTALL_PROGRAM) -s $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ; \
fi
- if ! test -f $(sysconfdir)/bird@SUFFIX6@.conf ; then \
- $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(sysconfdir)/bird@SUFFIX6@.conf ; \
+ if ! test -f $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; then \
+ $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; \
else \
echo "Not overwriting old bird@SUFFIX@.conf" ; \
fi
install-docs:
- $(INSTALL) -d $(docdir)
- $(INSTALL_DATA) $(srcdir)/doc/{bird,prog}{,-*}.html $(docdir)/
+ $(INSTALL) -d $(DESTDIR)/$(docdir)
+ $(INSTALL_DATA) $(srcdir)/doc/{bird,prog}{,-*}.html $(DESTDIR)/$(docdir)/
clean:
find . -name "*.[oa]" -o -name core -o -name depend -o -name "*.html" | xargs rm -f