[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] global-5.9.2 - Use automake variable instead of install-data
From: |
Jeroen Roovers |
Subject: |
Re: [PATCH] global-5.9.2 - Use automake variable instead of install-data-hook in htags/Makefile.am |
Date: |
Thu, 2 Sep 2010 19:10:52 +0200 |
On Thu, 02 Sep 2010 14:07:08 +0900
"Shigio YAMAGUCHI" <address@hidden> wrote:
> Hello,
> Certainly, the $(localstatedir) seems not to be under the influence
> of DESTDIR. Isn't this a bug of automake?
> If this is not a bug, should we write as follows?
>
> install-data-hook:
> dir="$(DESTDIR)$(localstatedir)/gtags/sitekeys"; \
> if [ ! -d $$dir ]; then \
> $(MKDIR_P) $$dir; \
> chmod 755 $$dir; \
> fi
>
> Your rewriting seems to have changed the operation of the
> original Makefile.
That appears to be correct. I agree with the above change.
jer