From c8cd1c97823a7476425063fa45b384cf01e558b3 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 11 Sep 2001 11:27:52 +0000 Subject: [PATCH] Added symlink for sys/asoundlib.h to alsa/asoundlib.h --- include/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/Makefile.am b/include/Makefile.am index 58bb7b25..ad2f6201 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,6 +1,8 @@ alsaincludedir = ${includedir}/alsa alsainclude_HEADERS = asoundlib.h +sysincludedir = ${includedir}/sys + # This is the order they will be concatenated into asoundlib.h! # header_files=header.h version.h global.h input.h output.h error.h \ @@ -42,4 +44,6 @@ INCLUDES=-I$(top_srcdir)/include install-exec-hook: rm -f $(alsaincludedir)/asoundef.h - (cd $(DESTDIR)$(alsaincludedir) && $(LN_S) ../sound/asoundef.h asoundef.h) + (cd $(DESTDIR)$(alsaincludedir) && $(LN_S) -f ../sound/asoundef.h asoundef.h) + # should be removed in future + (cd $(DESTDIR)$(sysincludedir) && $(LN_S) -f ../alsa/asoundlib.h asoundlib.h) -- 2.47.1