[gjs/wip/ptomato/autotools: 6/7] build: Remove DESTDIR from normal Automake rule



commit 0c587267dfadf53b0c4e0b7018219c6899105038
Author: Philip Chimento <philip chimento gmail com>
Date:   Thu Sep 29 13:02:04 2016 -0700

    build: Remove DESTDIR from normal Automake rule
    
    In normal Automake usage, $(DESTDIR) is not necessary. Automake takes
    care of it behind the scenes. You only need it when doing funny stuff
    inside hook or local rules.

 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index becdafd..a9fdf0d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -200,7 +200,7 @@ if ENABLE_SYSTEMTAP
 gjs/gjs.stp: gjs/gjs.stp.in Makefile
        $(AM_V_GEN)$(MKDIR_P) $(@D) && \
        $(SED) -e s,@EXPANDED_LIBDIR@,$(libdir), < $< > $@.tmp && mv $@.tmp $@
-tapsetdir   = $(DESTDIR)$(datadir)/systemtap/tapset
+tapsetdir   = $(datadir)/systemtap/tapset
 tapset_DATA = $(tapset_in_files:.stp.in=.stp)
 endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]