* Use install-{exec,data}-hook instead of -local so that target directories

already exist when the rule is called.


git-svn-id: svn://svn.zoy.org/elk/trunk@154 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
sam 2003-09-15 08:59:33 +00:00
parent 6f05008c8e
commit 544dbc2618
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ elk.ps: elk.1
elk.1.html: elk.1 elk.1.html: elk.1
$(UNROFF) $? $(UNROFF) $?
install-data-local: install-data-hook:
rm -f "$(DESTDIR)$(mandir)/scheme-elk.1" rm -f "$(DESTDIR)$(mandir)/scheme-elk.1"
ln -s elk.1 "$(DESTDIR)$(mandir)/scheme-elk.1" ln -s elk.1 "$(DESTDIR)$(mandir)/scheme-elk.1"

View File

@ -69,7 +69,7 @@ bin_PROGRAMS = elk
elk_LDADD = $(top_builddir)/src/libelk.la elk_LDADD = $(top_builddir)/src/libelk.la
elk_SOURCES = main.c elk_SOURCES = main.c
install-exec-local: install-exec-hook:
rm -f "$(DESTDIR)$(bindir)/scheme-elk" rm -f "$(DESTDIR)$(bindir)/scheme-elk"
ln -s elk "$(DESTDIR)$(bindir)/scheme-elk" ln -s elk "$(DESTDIR)$(bindir)/scheme-elk"