From a0903bae9fe09d76b8ae68ff1e754db767b20316 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 12 Sep 2001 16:18:33 +0000 Subject: [PATCH] Fixed installation. --- include/Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/Makefile.am b/include/Makefile.am index 20b6105a..3993e6f2 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -42,8 +42,9 @@ stamp-vh: $(top_builddir)/configure.in INCLUDES=-I$(top_srcdir)/include -install-exec-hook: - rm -f $(alsaincludedir)/asoundef.h - (cd $(DESTDIR)$(alsaincludedir) && $(LN_S) -f ../sound/asoundef.h asoundef.h) +install-data-hook: + rm -f $(DESTDIR)$(alsaincludedir)/asoundef.h + $(LN_S) -f ../sound/asoundef.h $(DESTDIR)$(alsaincludedir)/asoundef.h # should be removed in future + test -d $(DESTDIR)$(sysincludedir) || mkdir -p $(DESTDIR)$(sysincludedir) $(INSTALL_DATA) sys.h $(DESTDIR)$(sysincludedir)/asoundlib.h -- 2.47.1